From: handa Date: Fri, 23 Jun 2006 07:41:07 +0000 (+0000) Subject: (update_glyph_area): Don't use none_pixmap for X-Git-Tag: REL-0-9-5~24 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=6fff48ff317c06e5a268b42cec1ec3b19be84dfe;p=m17n%2Flibotf.git (update_glyph_area): Don't use none_pixmap for glyph index 0 if charmap_index is negative. --- 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 {