diff options
Diffstat (limited to 'src/term.c')
| -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 bb7f7354890..234be4a9271 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -639,7 +639,7 @@ encode_terminal_code (src, src_len, coding) | |||
| 639 | int src_len; | 639 | int src_len; |
| 640 | struct coding_system *coding; | 640 | struct coding_system *coding; |
| 641 | { | 641 | { |
| 642 | struct glyph *src_start = src, *src_end = src + src_len; | 642 | struct glyph *src_end = src + src_len; |
| 643 | register GLYPH g; | 643 | register GLYPH g; |
| 644 | unsigned char *buf; | 644 | unsigned char *buf; |
| 645 | int nchars, nbytes, required; | 645 | int nchars, nbytes, required; |
| @@ -724,7 +724,7 @@ encode_terminal_code (src, src_len, coding) | |||
| 724 | if (SYMBOLP (coding->pre_write_conversion) | 724 | if (SYMBOLP (coding->pre_write_conversion) |
| 725 | && ! NILP (Ffboundp (coding->pre_write_conversion))) | 725 | && ! NILP (Ffboundp (coding->pre_write_conversion))) |
| 726 | { | 726 | { |
| 727 | run_pre_write_conversin_on_c_str (&encode_terminal_buf, | 727 | run_pre_write_conversin_on_c_str (&encode_terminal_buf, |
| 728 | &encode_terminal_bufsize, | 728 | &encode_terminal_bufsize, |
| 729 | nchars, nbytes, coding); | 729 | nchars, nbytes, coding); |
| 730 | nchars = coding->produced_char; | 730 | nchars = coding->produced_char; |
| @@ -1662,7 +1662,7 @@ produce_stretch_glyph (it) | |||
| 1662 | && calc_pixel_width_or_height (&tem, it, prop, 0, 1, &align_to)) | 1662 | && calc_pixel_width_or_height (&tem, it, prop, 0, 1, &align_to)) |
| 1663 | { | 1663 | { |
| 1664 | if (it->glyph_row == NULL || !it->glyph_row->mode_line_p) | 1664 | if (it->glyph_row == NULL || !it->glyph_row->mode_line_p) |
| 1665 | align_to = (align_to < 0 | 1665 | align_to = (align_to < 0 |
| 1666 | ? 0 | 1666 | ? 0 |
| 1667 | : align_to - window_box_left_offset (it->w, TEXT_AREA)); | 1667 | : align_to - window_box_left_offset (it->w, TEXT_AREA)); |
| 1668 | else if (align_to < 0) | 1668 | else if (align_to < 0) |