# HG changeset patch # User Stu Tomlinson # Date 1174150551 0 # Node ID 87997f44e75e8f6140f6f26ad7c185769db0387e # Parent ca5d548bd88dc536b788d88b02c3f822a4f4f52f g_unichar_iswide_cjk() is only in glib 2.12 and newer, and I suspect g_unichar_iswide() is what is intended here anyway diff -r ca5d548bd88d -r 87997f44e75e console/libgnt/gnttextview.c --- 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); }