aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c6
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