[gucharmap] unicode: Fix gucharmap_get_unicode_name for Unicode 8.0
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gucharmap] unicode: Fix gucharmap_get_unicode_name for Unicode 8.0
- Date: Mon, 8 Jun 2015 20:58:24 +0000 (UTC)
commit e8519bad119f6662de8df350eb5edc6617b73123
Author: Christian Persch <chpe gnome org>
Date: Mon Jun 8 22:55:25 2015 +0200
unicode: Fix gucharmap_get_unicode_name for Unicode 8.0
gucharmap/gucharmap-unicode-info.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gucharmap/gucharmap-unicode-info.c b/gucharmap/gucharmap-unicode-info.c
index fed32eb..a654a9c 100644
--- a/gucharmap/gucharmap-unicode-info.c
+++ b/gucharmap/gucharmap-unicode-info.c
@@ -65,11 +65,12 @@ gucharmap_get_unicode_name (gunichar wc)
_gucharmap_intl_ensure_initialized ();
- if ((wc >= 0x3400 && wc <= 0x4DB5)
- || (wc >= 0x4e00 && wc <= 0x9fcc)
- || (wc >= 0x20000 && wc <= 0x2A6D6)
+ if ((wc >= 0x3400 && wc <= 0x4db5)
+ || (wc >= 0x4e00 && wc <= 0x9fd5)
+ || (wc >= 0x20000 && wc <= 0x2a6d6)
|| (wc >= 0x2a700 && wc <= 0x2b734)
- || (wc >= 0x2b740 && wc <= 0x2b81d))
+ || (wc >= 0x2b740 && wc <= 0x2b81d)
+ || (wc >= 0x2b820 && wc <= 0x2cea1))
{
g_snprintf (buf, sizeof (buf), "CJK UNIFIED IDEOGRAPH-%04X", wc);
return buf;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]