Improve logging output to only show the part of teh string being measured

svn path=/trunk/netsurf/; revision=12045
This commit is contained in:
Vincent Sanders 2011-03-14 16:42:31 +00:00
parent 7591d2712e
commit a5ef282aec

View File

@ -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;
}