summaryrefslogtreecommitdiff
path: root/gtk/font_pango.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2011-03-14 16:42:31 +0000
committerVincent Sanders <vince@netsurf-browser.org>2011-03-14 16:42:31 +0000
commita5ef282aec042aeeba76fc0659cc073fc971e5b1 (patch)
tree5b8d705a4303bc53178f328864d28c3fb3c2792a /gtk/font_pango.c
parent7591d2712edebae7eb419fbe6041d258d58f7d6d (diff)
downloadnetsurf-a5ef282aec042aeeba76fc0659cc073fc971e5b1.tar.gz
netsurf-a5ef282aec042aeeba76fc0659cc073fc971e5b1.tar.bz2
Improve logging output to only show the part of teh string being measured
svn path=/trunk/netsurf/; revision=12045
Diffstat (limited to 'gtk/font_pango.c')
-rw-r--r--gtk/font_pango.c2
1 files changed, 1 insertions, 1 deletions
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;
}