comparison src/xdisp.c @ 16927:c5351a880e0a

(try_window): Remove frobnication of tab_offset in a minibuffer window. (display_text_line): Likewise, for the taboffset parameter.
author Richard M. Stallman <rms@gnu.org>
date Fri, 24 Jan 1997 09:31:32 +0000
parents 9372cff55355
children 667a3686a447
comparison
equal deleted inserted replaced
16926:3baea3418dec 16927:c5351a880e0a
2063 while (--height >= 0) 2063 while (--height >= 0)
2064 { 2064 {
2065 val = *display_text_line (w, pos, vpos, val.hpos, tab_offset, 2065 val = *display_text_line (w, pos, vpos, val.hpos, tab_offset,
2066 val.ovstring_chars_done); 2066 val.ovstring_chars_done);
2067 tab_offset += width; 2067 tab_offset += width;
2068 /* For the first line displayed, display_text_line
2069 subtracts the prompt width from the tab offset.
2070 But it does not affect the value of our variable tab_offset.
2071 So we do the subtraction again,
2072 for the sake of continuation lines of that first line. */
2073 if (MINI_WINDOW_P (w) && vpos == XFASTINT (w->top))
2074 tab_offset -= minibuf_prompt_width;
2075
2076 if (val.vpos) tab_offset = 0; 2068 if (val.vpos) tab_offset = 0;
2077 vpos++; 2069 vpos++;
2078 if (pos != val.bufpos) 2070 if (pos != val.bufpos)
2079 { 2071 {
2080 int invis = 0; 2072 int invis = 0;