# HG changeset patch # User Kim F. Storm # Date 1081201268 0 # Node ID 42ceb5f0718f1ec9a7ea6dd156067f6a0533d622 # Parent e7dae6a9ac078f17a7ebee0cddf1004d3c60a5d6 (vmotion): Do not reserve one column for continuation marks on window frames. diff -r e7dae6a9ac07 -r 42ceb5f0718f src/indent.c --- a/src/indent.c Mon Apr 05 21:40:02 2004 +0000 +++ b/src/indent.c Mon Apr 05 21:41:08 2004 +0000 @@ -1836,9 +1836,7 @@ register int from, vtarget; struct window *w; { - /* We don't need to make room for continuation marks (we have fringes now), - so hould we really subtract 1 here if FRAME_WINDOW_P ? ++KFS */ - int width = window_box_text_cols (w) - 1; + int width = window_box_text_cols (w); int hscroll = XINT (w->hscroll); struct position pos; /* vpos is cumulative vertical position, changed as from is changed */ @@ -1859,6 +1857,12 @@ XSETWINDOW (window, w); + /* We must make room for continuation marks if we don't have fringes. */ +#ifdef HAVE_WINDOW_SYSTEM + if (!FRAME_WINDOW_P (XFRAME (w->frame))) +#endif + width -= 1; + /* If the window contains this buffer, use it for getting text properties. Otherwise use the current buffer as arg for doing that. */ if (EQ (w->buffer, Fcurrent_buffer ()))