diff options
author | Geoff Voelker <[email protected]> | 1998-10-20 22:34:50 +0000 |
---|---|---|
committer | Geoff Voelker <[email protected]> | 1998-10-20 22:34:50 +0000 |
commit | bbdf24fae2374931508d56e6aed14e1800db7e8e (patch) | |
tree | 808bd850ef1b7b987368498c5ae6a2bc3932936e /src/w32term.c | |
parent | bd6bb5442f78ec84eba0d3ecf715a8a820d32a9c (diff) |
(w32_use_unicode_for_codepage): Interpret w32_no_unicode_output properly.
(syms_of_w32term): Reference w32_no_unicode_output properly.
Diffstat (limited to 'src/w32term.c')
-rw-r--r-- | src/w32term.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32term.c b/src/w32term.c index 8f5682cb93..72e32b37f0 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -558,7 +558,7 @@ BOOL w32_use_unicode_for_codepage (codepage) { /* If the current codepage is supported, use Unicode for output. */ - return (w32_no_unicode_output + return (!w32_no_unicode_output && codepage != CP_DEFAULT && IsValidCodePage (codepage)); } @@ -5165,7 +5165,7 @@ When nil, the right-alt and left-ctrl key combination is\n\ interpreted normally."); Vw32_recognize_altgr = Qt; DEFVAR_BOOL ("w32-no-unicode-output", - w32_no_unicode_output, + &w32_no_unicode_output, "Disable the use of Unicode for text output if non-nil.\n\ Unicode output may prevent some third party applications for displaying\n\ Far-East Languages on Windows 95/98 from working properly.\n\ |