[pango] Fix grapheme properties of U+FFxx range



commit da1fa444b9c1c766daaf04357b207a21cef7be8a
Author: Behdad Esfahbod <behdad behdad org>
Date:   Sun Dec 2 17:14:01 2012 +0200

    Fix grapheme properties of U+FFxx range
    
    Oops!

 pango/break.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pango/break.c b/pango/break.c
index c68534c..ca1eb43 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -752,7 +752,7 @@ pango_default_break (const gchar   *text,
 		case 0xFF:
 		  if (wc == 0xFF70)
 		    WB_type = WB_Katakana; /* Katakana exceptions */
-		  else if (wc >= 0xFF9E || wc <= 0xFF9F)
+		  else if (wc >= 0xFF9E && wc <= 0xFF9F)
 		    WB_type = WB_ExtendFormat; /* Other_Grapheme_Extend */
 		  break;
 		case 0x05:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]