summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;