diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/term.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/term.c b/src/term.c index 2b4ea7e23a4..e53e5f78306 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -816,7 +816,7 @@ encode_terminal_code (src, src_len, coding) | |||
| 816 | int src_len; | 816 | int src_len; |
| 817 | struct coding_system *coding; | 817 | struct coding_system *coding; |
| 818 | { | 818 | { |
| 819 | struct glyph *src_start = src, *src_end = src + src_len; | 819 | struct glyph *src_end = src + src_len; |
| 820 | register GLYPH g; | 820 | register GLYPH g; |
| 821 | unsigned char *buf; | 821 | unsigned char *buf; |
| 822 | int nchars, nbytes, required; | 822 | int nchars, nbytes, required; |
| @@ -901,7 +901,7 @@ encode_terminal_code (src, src_len, coding) | |||
| 901 | if (SYMBOLP (coding->pre_write_conversion) | 901 | if (SYMBOLP (coding->pre_write_conversion) |
| 902 | && ! NILP (Ffboundp (coding->pre_write_conversion))) | 902 | && ! NILP (Ffboundp (coding->pre_write_conversion))) |
| 903 | { | 903 | { |
| 904 | run_pre_write_conversin_on_c_str (&encode_terminal_buf, | 904 | run_pre_write_conversin_on_c_str (&encode_terminal_buf, |
| 905 | &encode_terminal_bufsize, | 905 | &encode_terminal_bufsize, |
| 906 | nchars, nbytes, coding); | 906 | nchars, nbytes, coding); |
| 907 | nchars = coding->produced_char; | 907 | nchars = coding->produced_char; |
| @@ -1818,7 +1818,7 @@ produce_stretch_glyph (it) | |||
| 1818 | && calc_pixel_width_or_height (&tem, it, prop, 0, 1, &align_to)) | 1818 | && calc_pixel_width_or_height (&tem, it, prop, 0, 1, &align_to)) |
| 1819 | { | 1819 | { |
| 1820 | if (it->glyph_row == NULL || !it->glyph_row->mode_line_p) | 1820 | if (it->glyph_row == NULL || !it->glyph_row->mode_line_p) |
| 1821 | align_to = (align_to < 0 | 1821 | align_to = (align_to < 0 |
| 1822 | ? 0 | 1822 | ? 0 |
| 1823 | : align_to - window_box_left_offset (it->w, TEXT_AREA)); | 1823 | : align_to - window_box_left_offset (it->w, TEXT_AREA)); |
| 1824 | else if (align_to < 0) | 1824 | else if (align_to < 0) |