diff finch/libgnt/gntkeys.c @ 28269:7686397d2282

merge of '21bc6a005e10217fb89ff6fe326c1f4174fadf73' and 'e6bbde6f4d46cd78557b9d95f583b3668415e256'
author John Bailey <rekkanoryo@rekkanoryo.org>
date Wed, 16 Sep 2009 15:36:24 +0000
parents 3b6f50b68f5d
children
line wrap: on
line diff
--- a/finch/libgnt/gntkeys.c	Wed Sep 16 15:35:45 2009 +0000
+++ b/finch/libgnt/gntkeys.c	Wed Sep 16 15:36:24 2009 +0000
@@ -166,7 +166,7 @@
 				strstr(term, "xterm") == term ||
 				strstr(term, "vt100") == term)
 			*(text + 1) = 'O';
-	} else if (*(unsigned char*)text == 195) {
+	} else if (g_utf8_get_char(text) == 195) {
 		if (*(text + 2) == 0 && strstr(term, "xterm") == term) {
 			*(text) = 27;
 			*(text + 1) -= 64;  /* Say wha? */