summaryrefslogtreecommitdiffstats
path: root/x11-terms/xterm/files/xterm-ds-utf8mode.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-terms/xterm/files/xterm-ds-utf8mode.patch')
-rw-r--r--x11-terms/xterm/files/xterm-ds-utf8mode.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-terms/xterm/files/xterm-ds-utf8mode.patch b/x11-terms/xterm/files/xterm-ds-utf8mode.patch
new file mode 100644
index 0000000..2dacec7
--- /dev/null
+++ b/x11-terms/xterm/files/xterm-ds-utf8mode.patch
@@ -0,0 +1,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);