From a5ef282aec042aeeba76fc0659cc073fc971e5b1 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 14 Mar 2011 16:42:31 +0000 Subject: Improve logging output to only show the part of teh string being measured svn path=/trunk/netsurf/; revision=12045 --- gtk/font_pango.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/font_pango.c') diff --git a/gtk/font_pango.c b/gtk/font_pango.c index c9611e93e..b3616334c 100644 --- a/gtk/font_pango.c +++ b/gtk/font_pango.c @@ -104,7 +104,7 @@ bool nsfont_width(const plot_font_style_t *fstyle, pango_font_description_free(desc); - LOG(("fstyle: %p string: %s, length: %u -> %d", fstyle, string, length, *width)); + LOG(("fstyle: %p string:\"%.*s\", length: %u -> %d", fstyle, length, string, length, *width)); return true; } -- cgit v1.2.3