Fix grapheme properties of joiner / nonjoiner
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 2 Dec 2012 15:10:19 +0000 (17:10 +0200)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 2 Dec 2012 16:09:40 +0000 (18:09 +0200)
Oops!

pango/break.c

index ace7b1d..c68534c 100644 (file)
@@ -656,7 +656,7 @@ pango_default_break (const gchar   *text,
        switch ((int) type)
          {
          case G_UNICODE_FORMAT:
-           if (wc == 0x200C && wc == 0x200D)
+           if (wc == 0x200C || wc == 0x200D)
              {
                GB_type = GB_Extend; /* U+200C and U+200D are Other_Grapheme_Extend */
                break;