summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-12-02 17:10:19 +0200
committerBehdad Esfahbod <behdad@behdad.org>2012-12-02 18:09:40 +0200
commit6512b1961d7f622d4bb2d329d079e7251f80522e (patch)
tree8529d06c3e19875cccfc04d5d2650e019ab08cbf
parentc5d5bca53393f56b011b714acbee0f942dce9848 (diff)
downloadpango-6512b1961d7f622d4bb2d329d079e7251f80522e.tar.gz
Fix grapheme properties of joiner / nonjoiner
Oops!
-rw-r--r--pango/break.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/break.c b/pango/break.c
index ace7b1d7..c68534c5 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;