From 6fff48ff317c06e5a268b42cec1ec3b19be84dfe Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 23 Jun 2006 07:41:07 +0000 Subject: [PATCH] (update_glyph_area): Don't use none_pixmap for glyph index 0 if charmap_index is negative. --- example/otfview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/otfview.c b/example/otfview.c index 5a61b85..c528737 100644 --- a/example/otfview.c +++ b/example/otfview.c @@ -211,7 +211,7 @@ update_glyph_area () if (charmap_index >= 0) index = FT_Get_Char_Index (face, (FT_ULong) index); - if (! index) + if (charmap_index >= 0 && ! index) XtSetArg (arg[0], XtNbitmap, none_pixmap); else { -- 1.7.10.4