From 6512b1961d7f622d4bb2d329d079e7251f80522e Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 2 Dec 2012 17:10:19 +0200 Subject: [PATCH] Fix grapheme properties of joiner / nonjoiner Oops! --- pango/break.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pango/break.c b/pango/break.c index ace7b1d..c68534c 100644 --- a/pango/break.c +++ b/pango/break.c @@ -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; -- 2.7.4