diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-04-16 03:37:52 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@iem.at> | 2015-10-14 15:23:30 +0200 |
commit | 8bc55f550516b951130922cf6e08e83c3df761f7 (patch) | |
tree | fa45c1a4620492dd4ed4bdc1f26ac750001d753d /scrolllist.c | |
parent | 5f6be7883fb3adfe3fdb95c5d47dcd0b03e1950d (diff) |
quote font name in Tk -font triplets since font names can contain spaces
svn path=/trunk/externals/unauthorized/; revision=16125
Diffstat (limited to 'scrolllist.c')
-rw-r--r-- | scrolllist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scrolllist.c b/scrolllist.c index 1a9d1be..40b857c 100644 --- a/scrolllist.c +++ b/scrolllist.c @@ -157,7 +157,7 @@ static void scrolllist_update(t_scrolllist *x, t_glist *glist) // display the entry if displayable if ( ( (i-x->x_firstseen)*x->x_charheight < x->x_height ) && ( x->x_items[i] != NULL ) ) { - SYS_VGUI11(".x%lx.c create text %d %d -fill %s -activefill %s -width %d -text \"%s\" -anchor w -font %s -tags %xITEM%d\n", + SYS_VGUI11(".x%lx.c create text %d %d -fill %s -activefill %s -width %d -text \"%s\" -anchor w -font {%s} -tags %xITEM%d\n", canvas, text_xpix(&x->x_obj, glist)+5, text_ypix(&x->x_obj, glist)+5+(i-x->x_firstseen)*x->x_charheight, |