summaryrefslogtreecommitdiffstats
path: root/x11-terms/xterm/files/xterm-ds-utf8mode.patch
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /x11-terms/xterm/files/xterm-ds-utf8mode.patch
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
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);