]> git.eshelyaron.com Git - emacs.git/commitdiff
(display_text_line): Write blanks under the entire
authorKarl Heuer <kwzh@gnu.org>
Tue, 22 Aug 1995 00:32:03 +0000 (00:32 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 22 Aug 1995 00:32:03 +0000 (00:32 +0000)
scroll bar, not just the first column.

src/xdisp.c

index bd1bdf5bcdbb826947fe994c357b09815099ac82..7000d8d6089705fc0f723c18945babf3cc2f23f6 100644 (file)
@@ -3036,11 +3036,16 @@ display_text_line (w, start, vpos, hpos, taboffset)
          covered up by the scroll bars, and it's distracting to see
          them when the scroll bar windows are flickering around to be
          reconfigured.  */
-      *p1++ = (FRAME_HAS_VERTICAL_SCROLL_BARS (f)
-              ? ' '
-              : (dp && INTEGERP (DISP_BORDER_GLYPH (dp))
-                 ? DISP_BORDER_GLYPH (dp)
-                 : '|'));
+      if (FRAME_HAS_VERTICAL_SCROLL_BARS (f))
+       {
+         int i;
+         for (i = 0; i < FRAME_SCROLL_BAR_COLS (f); i++)
+           *p1++ = SPACEGLYPH;
+       }
+      else
+       *p1++ = (dp && INTEGERP (DISP_BORDER_GLYPH (dp))
+                ? DISP_BORDER_GLYPH (dp)
+                : '|');
     }
   desired_glyphs->used[vpos] = max (desired_glyphs->used[vpos],
                                   p1 - desired_glyphs->glyphs[vpos]);