[OT] Fix logic
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 2 May 2011 01:06:58 +0000 (21:06 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 2 May 2011 01:06:58 +0000 (21:06 -0400)
That part of code is to be removed thanks to HarfBuzz move though.

pango/pango-ot-info.c

index 67c7870..be7d53a 100644 (file)
@@ -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;