summaryrefslogtreecommitdiffstats
path: root/x11-terms/xterm/files/xterm-ds-utf8mode.patch
blob: 2dacec790815e9ce3cfb3291f7308be2284bb75c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -dPNur xterm-207/menu.c xterm-207-new/menu.c
--- xterm-207/menu.c	2005-12-26 14:00:13.000000000 +0000
+++ xterm-207-new/menu.c	2005-12-26 14:02:30.000000000 +0000
@@ -689,7 +689,7 @@
 	    update_font_utf8_mode();
 #endif
 #if OPT_WIDE_CHARS
-	    if ((term->screen.utf8_mode==2)||(!term->screen.wide_chars)) {
+	    if ((term->screen.utf8_mode>255)||(!term->screen.wide_chars)) {
 		set_sensitivity(mw,
 				fontMenuEntries[fontMenu_font_multibyte].widget,
 				False);