changeset 23925:1deaaafdf9ea

(dumpglyphs): Don't convert 7-bit ASCII characters via nonascii-translation-table.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 21 Dec 1998 16:09:29 +0000
parents e3421077c412
children f2d6df96a3c7
files src/xterm.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon Dec 21 11:24:39 1998 +0000
+++ b/src/xterm.c	Mon Dec 21 16:09:29 1998 +0000
@@ -582,7 +582,8 @@
       ch = FAST_GLYPH_CHAR (g);
       if (unibyte_display_via_language_environment
 	  && SINGLE_BYTE_CHAR_P (ch)
-	  && (ch >= 0240 || !NILP (Vnonascii_translation_table)))
+	  && (ch >= 0240
+	      || (ch >= 0200 && !NILP (Vnonascii_translation_table))))
 	ch = unibyte_char_to_multibyte (ch);
       if (gidx == 0) XSETFASTINT (first_ch, ch);
       charset = CHAR_CHARSET (ch);
@@ -623,7 +624,8 @@
 	  ch = FAST_GLYPH_CHAR (g);
 	  if (unibyte_display_via_language_environment
 	      && SINGLE_BYTE_CHAR_P (ch)
-	      && (ch >= 0240 || !NILP (Vnonascii_translation_table)))
+	      && (ch >= 0240
+		  || (ch >= 0200 && !NILP (Vnonascii_translation_table))))
 	    ch = unibyte_char_to_multibyte (ch);
 	  SPLIT_CHAR (ch, this_charset, c1, c2);
 	  if (this_charset != charset