[pango] Fix grapheme properties of joiner / nonjoiner
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Fix grapheme properties of joiner / nonjoiner
- Date: Sun, 2 Dec 2012 17:15:37 +0000 (UTC)
commit 6512b1961d7f622d4bb2d329d079e7251f80522e
Author: Behdad Esfahbod <behdad behdad org>
Date: Sun Dec 2 17:10:19 2012 +0200
Fix grapheme properties of joiner / nonjoiner
Oops!
pango/break.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]