/[emacs]/emacs/src/term.c
ViewVC logotype

Diff of /emacs/src/term.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.169 by dann, Sun Oct 2 18:35:04 2005 UTC revision 1.170 by kfstorm, Thu Oct 20 15:03:58 2005 UTC
# Line 816  encode_terminal_code (src, src_len, codi Line 816  encode_terminal_code (src, src_len, codi
816       int src_len;       int src_len;
817       struct coding_system *coding;       struct coding_system *coding;
818  {  {
819    struct glyph *src_start = src, *src_end = src + src_len;    struct glyph *src_end = src + src_len;
820    register GLYPH g;    register GLYPH g;
821    unsigned char *buf;    unsigned char *buf;
822    int nchars, nbytes, required;    int nchars, nbytes, required;
# Line 901  encode_terminal_code (src, src_len, codi Line 901  encode_terminal_code (src, src_len, codi
901    if (SYMBOLP (coding->pre_write_conversion)    if (SYMBOLP (coding->pre_write_conversion)
902        && ! NILP (Ffboundp (coding->pre_write_conversion)))        && ! NILP (Ffboundp (coding->pre_write_conversion)))
903      {      {
904        run_pre_write_conversin_on_c_str (&encode_terminal_buf,        run_pre_write_conversin_on_c_str (&encode_terminal_buf,
905                                          &encode_terminal_bufsize,                                          &encode_terminal_bufsize,
906                                          nchars, nbytes, coding);                                          nchars, nbytes, coding);
907        nchars = coding->produced_char;        nchars = coding->produced_char;
# Line 1818  produce_stretch_glyph (it) Line 1818  produce_stretch_glyph (it)
1818             && calc_pixel_width_or_height (&tem, it, prop, 0, 1, &align_to))             && calc_pixel_width_or_height (&tem, it, prop, 0, 1, &align_to))
1819      {      {
1820        if (it->glyph_row == NULL || !it->glyph_row->mode_line_p)        if (it->glyph_row == NULL || !it->glyph_row->mode_line_p)
1821          align_to = (align_to < 0          align_to = (align_to < 0
1822                      ? 0                      ? 0
1823                      : align_to - window_box_left_offset (it->w, TEXT_AREA));                      : align_to - window_box_left_offset (it->w, TEXT_AREA));
1824        else if (align_to < 0)        else if (align_to < 0)

Legend:
Removed from v.1.169  
changed lines
  Added in v.1.170

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26