comparison src/window.c @ 8944:07b281d80445

(window_internal_width): Change VERTICAL_SCROLL_BAR_WIDTH to FRAME_SCROLL_BAR_COLS.
author Karl Heuer <kwzh@gnu.org>
date Tue, 20 Sep 1994 05:13:22 +0000
parents 706a926df1d5
children 2a9359b721da
comparison
equal deleted inserted replaced
8943:a9e40d478857 8944:07b281d80445
2338 /* If we are not flush right, then our rightmost columns are 2338 /* If we are not flush right, then our rightmost columns are
2339 occupied by some sort of separator. */ 2339 occupied by some sort of separator. */
2340 2340
2341 /* Scroll bars occupy a few columns. */ 2341 /* Scroll bars occupy a few columns. */
2342 if (FRAME_HAS_VERTICAL_SCROLL_BARS (f)) 2342 if (FRAME_HAS_VERTICAL_SCROLL_BARS (f))
2343 return width - VERTICAL_SCROLL_BAR_WIDTH; 2343 return width - FRAME_SCROLL_BAR_COLS (f);
2344 2344
2345 /* The column of `|' characters separating side-by-side windows 2345 /* The column of `|' characters separating side-by-side windows
2346 occupies one column only. */ 2346 occupies one column only. */
2347 return width - 1; 2347 return width - 1;
2348 } 2348 }