diff options
| author | Eli Zaretskii | 1998-12-21 16:09:29 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 1998-12-21 16:09:29 +0000 |
| commit | 3e1f7d51ce9304036b8be92e263b6bb271e91110 (patch) | |
| tree | 8dba3aca31d0e6eaa0b7d4de4d5ec58cd7151135 /src | |
| parent | dcad02bc0ce60da7c553d7f75364ee1355fd2d9b (diff) | |
| download | emacs-3e1f7d51ce9304036b8be92e263b6bb271e91110.tar.gz emacs-3e1f7d51ce9304036b8be92e263b6bb271e91110.zip | |
(dumpglyphs): Don't convert 7-bit ASCII characters via
nonascii-translation-table.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index 573f11c15c3..53943fe9115 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -582,7 +582,8 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground, cmpcharp) | |||
| 582 | ch = FAST_GLYPH_CHAR (g); | 582 | ch = FAST_GLYPH_CHAR (g); |
| 583 | if (unibyte_display_via_language_environment | 583 | if (unibyte_display_via_language_environment |
| 584 | && SINGLE_BYTE_CHAR_P (ch) | 584 | && SINGLE_BYTE_CHAR_P (ch) |
| 585 | && (ch >= 0240 || !NILP (Vnonascii_translation_table))) | 585 | && (ch >= 0240 |
| 586 | || (ch >= 0200 && !NILP (Vnonascii_translation_table)))) | ||
| 586 | ch = unibyte_char_to_multibyte (ch); | 587 | ch = unibyte_char_to_multibyte (ch); |
| 587 | if (gidx == 0) XSETFASTINT (first_ch, ch); | 588 | if (gidx == 0) XSETFASTINT (first_ch, ch); |
| 588 | charset = CHAR_CHARSET (ch); | 589 | charset = CHAR_CHARSET (ch); |
| @@ -623,7 +624,8 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground, cmpcharp) | |||
| 623 | ch = FAST_GLYPH_CHAR (g); | 624 | ch = FAST_GLYPH_CHAR (g); |
| 624 | if (unibyte_display_via_language_environment | 625 | if (unibyte_display_via_language_environment |
| 625 | && SINGLE_BYTE_CHAR_P (ch) | 626 | && SINGLE_BYTE_CHAR_P (ch) |
| 626 | && (ch >= 0240 || !NILP (Vnonascii_translation_table))) | 627 | && (ch >= 0240 |
| 628 | || (ch >= 0200 && !NILP (Vnonascii_translation_table)))) | ||
| 627 | ch = unibyte_char_to_multibyte (ch); | 629 | ch = unibyte_char_to_multibyte (ch); |
| 628 | SPLIT_CHAR (ch, this_charset, c1, c2); | 630 | SPLIT_CHAR (ch, this_charset, c1, c2); |
| 629 | if (this_charset != charset | 631 | if (this_charset != charset |