aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/term.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c
index 1fbc4d87f68..efed87e52ea 100644
--- a/src/term.c
+++ b/src/term.c
@@ -822,8 +822,11 @@ encode_terminal_code (src, dst, src_len, dst_len, consumed)
822 /* We set the multi-byte form of C at BUF. */ 822 /* We set the multi-byte form of C at BUF. */
823 len = CHAR_STRING (c, workbuf, buf); 823 len = CHAR_STRING (c, workbuf, buf);
824 else 824 else
825 /* We have a string in Vglyph_table. */ 825 {
826 len = GLYPH_LENGTH (tbase, g), buf = GLYPH_STRING (tbase, g); 826 /* We have a string in Vglyph_table. */
827 len = GLYPH_LENGTH (tbase, g);
828 buf = GLYPH_STRING (tbase, g);
829 }
827 830
828 produced = encode_coding (&terminal_coding, buf, dst, 831 produced = encode_coding (&terminal_coding, buf, dst,
829 len, dst_end - dst, &processed); 832 len, dst_end - dst, &processed);