]> git.eshelyaron.com Git - emacs.git/commitdiff
(dumpglyphs): Don't convert 7-bit ASCII characters via
authorEli Zaretskii <eliz@gnu.org>
Mon, 21 Dec 1998 16:09:29 +0000 (16:09 +0000)
committerEli Zaretskii <eliz@gnu.org>
Mon, 21 Dec 1998 16:09:29 +0000 (16:09 +0000)
nonascii-translation-table.

src/xterm.c

index 573f11c15c3fa0800e973957dfa853d761946aab..53943fe911517c4c64609a878ec1316b25c3922c 100644 (file)
@@ -582,7 +582,8 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground, cmpcharp)
       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 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground, cmpcharp)
          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