diff options
| author | Kenichi Handa | 1998-08-31 03:50:17 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-08-31 03:50:17 +0000 |
| commit | c63e0d56d5e40416f7fbad2832ae02a327802c60 (patch) | |
| tree | 8fa2d02bc1954addd4787b6a61027e696edfa3b4 /src | |
| parent | 153d0a6d124135f72491f4671466230aadd17e94 (diff) | |
| download | emacs-c63e0d56d5e40416f7fbad2832ae02a327802c60.tar.gz emacs-c63e0d56d5e40416f7fbad2832ae02a327802c60.zip | |
(dumpglyphs): If Vnonascii_translation_table is non-nil, try
to convert a character less than 160 to multibyteL.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index 8b6b98019c6..3993f3a836e 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -582,7 +582,7 @@ 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 >= 160) | 585 | && (ch >= 0240 || !NILP (Vnonascii_translation_table))) |
| 586 | ch = unibyte_char_to_multibyte (ch); | 586 | ch = unibyte_char_to_multibyte (ch); |
| 587 | if (gidx == 0) XSETFASTINT (first_ch, ch); | 587 | if (gidx == 0) XSETFASTINT (first_ch, ch); |
| 588 | charset = CHAR_CHARSET (ch); | 588 | charset = CHAR_CHARSET (ch); |
| @@ -623,7 +623,7 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground, cmpcharp) | |||
| 623 | ch = FAST_GLYPH_CHAR (g); | 623 | ch = FAST_GLYPH_CHAR (g); |
| 624 | if (unibyte_display_via_language_environment | 624 | if (unibyte_display_via_language_environment |
| 625 | && SINGLE_BYTE_CHAR_P (ch) | 625 | && SINGLE_BYTE_CHAR_P (ch) |
| 626 | && ch >= 160) | 626 | && (ch >= 0240 || !NILP (Vnonascii_translation_table))) |
| 627 | ch = unibyte_char_to_multibyte (ch); | 627 | ch = unibyte_char_to_multibyte (ch); |
| 628 | SPLIT_CHAR (ch, this_charset, c1, c2); | 628 | SPLIT_CHAR (ch, this_charset, c1, c2); |
| 629 | if (this_charset != charset | 629 | if (this_charset != charset |