summaryrefslogtreecommitdiff
path: root/gtk/font_pango.c
diff options
context:
space:
mode:
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;
}