changeset 23510:104ab9156299

(w32_use_unicode_for_codepage): Interpret w32_no_unicode_output properly. (syms_of_w32term): Reference w32_no_unicode_output properly.
author Geoff Voelker <voelker@cs.washington.edu>
date Tue, 20 Oct 1998 22:34:50 +0000
parents afcb561b535d
children 8b4cdcbaf071
files src/w32term.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.c	Tue Oct 20 22:16:48 1998 +0000
+++ b/src/w32term.c	Tue Oct 20 22:34:50 1998 +0000
@@ -558,7 +558,7 @@
 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 @@
 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\