changeset 15804:87997f44e75e

g_unichar_iswide_cjk() is only in glib 2.12 and newer, and I suspect g_unichar_iswide() is what is intended here anyway
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 17 Mar 2007 16:55:51 +0000
parents ca5d548bd88d
children a0a5e323a6ac
files console/libgnt/gnttextview.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/console/libgnt/gnttextview.c	Sat Mar 17 16:50:35 2007 +0000
+++ b/console/libgnt/gnttextview.c	Sat Mar 17 16:55:51 2007 +0000
@@ -223,7 +223,7 @@
 		gunichar *u;
 		pos = g_utf8_next_char(pos);
 		u = g_utf8_to_ucs4(pos, -1, NULL, NULL, NULL);
-		if (u && g_unichar_iswide_cjk(*u))
+		if (u && g_unichar_iswide(*u))
 			i++;
 		g_free(u);
 	}