[pango] [OT] Fix logic



commit 6e9478e1d552c3c71ff72f707cd1dee8f60e902a
Author: Behdad Esfahbod <behdad behdad org>
Date:   Sun May 1 21:06:58 2011 -0400

    [OT] Fix logic
    
    That part of code is to be removed thanks to HarfBuzz move though.

 pango/pango-ot-info.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index 67c7870..be7d53a 100644
--- a/pango/pango-ot-info.c
+++ b/pango/pango-ot-info.c
@@ -230,7 +230,7 @@ synthesize_class_def (PangoOTInfo *info)
 
   old_charmap = info->face->charmap;
 
-  if (!old_charmap || !old_charmap->encoding != ft_encoding_unicode)
+  if (!old_charmap || old_charmap->encoding != ft_encoding_unicode)
     if (!set_unicode_charmap (info->face))
       return;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]