Mercurial > emacs
changeset 66238:d3f5aa0f18c4
(encode_terminal_code): Remove unused var src_start.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Thu, 20 Oct 2005 15:03:58 +0000 |
parents | eef44f16f6c3 |
children | c5b2598edd74 |
files | src/term.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/term.c Thu Oct 20 15:03:32 2005 +0000 +++ b/src/term.c Thu Oct 20 15:03:58 2005 +0000 @@ -816,7 +816,7 @@ int src_len; struct coding_system *coding; { - struct glyph *src_start = src, *src_end = src + src_len; + struct glyph *src_end = src + src_len; register GLYPH g; unsigned char *buf; int nchars, nbytes, required; @@ -901,7 +901,7 @@ if (SYMBOLP (coding->pre_write_conversion) && ! NILP (Ffboundp (coding->pre_write_conversion))) { - run_pre_write_conversin_on_c_str (&encode_terminal_buf, + run_pre_write_conversin_on_c_str (&encode_terminal_buf, &encode_terminal_bufsize, nchars, nbytes, coding); nchars = coding->produced_char; @@ -1818,7 +1818,7 @@ && calc_pixel_width_or_height (&tem, it, prop, 0, 1, &align_to)) { if (it->glyph_row == NULL || !it->glyph_row->mode_line_p) - align_to = (align_to < 0 + align_to = (align_to < 0 ? 0 : align_to - window_box_left_offset (it->w, TEXT_AREA)); else if (align_to < 0)