diff options
| author | Geoff Voelker <voelker@cs.washington.edu> | 1998-11-04 23:42:04 +0000 |
|---|---|---|
| committer | Geoff Voelker <voelker@cs.washington.edu> | 1998-11-04 23:42:04 +0000 |
| commit | 484fa2c1ecd619f1bf26a6d1e2e206d55b4805d6 (patch) | |
| tree | 86a5b828a1c3df5bce347fadb351c7896b5dbf4b | |
| parent | bc6af9357cc4e039f50ca7690f5253ba1069bd29 (diff) | |
| download | emacs-484fa2c1ecd619f1bf26a6d1e2e206d55b4805d6.tar.gz | |
(w32_enable_unicode_output): Rename from
w32_no_unicode_output.
(w32_use_unicode_for_codepage, syms_of_w32term): Use new name
and new semantics.
| -rw-r--r-- | src/w32term.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/w32term.c b/src/w32term.c index 2256155f131..dcfaf6aac3a 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -132,10 +132,10 @@ static int highlight; static int curs_x; static int curs_y; -/* Flag to disable Unicode output in case users wish to use programs +/* Flag to enable Unicode output in case users wish to use programs like Twinbridge on '95 rather than installed system level support for Far East languages. */ -int w32_no_unicode_output; +int w32_enable_unicode_output; DWORD dwWindowsThreadId = 0; HANDLE hWindowsThread = NULL; @@ -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_enable_unicode_output && codepage != CP_DEFAULT && IsValidCodePage (codepage)); } @@ -5169,12 +5169,12 @@ 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, - "Disable the use of Unicode for text output if non-nil.\n\ + DEFVAR_BOOL ("w32-enable-unicode-output", + &w32_enable_unicode_output, + "Enable 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\ NT uses Unicode internally anyway, so this flag will probably have no\n\ affect on NT machines."); - w32_no_unicode_output = 0; + w32_enable_unicode_output = 1; } |
