aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorKarl Heuer <[email protected]>1994-09-20 05:13:22 +0000
committerKarl Heuer <[email protected]>1994-09-20 05:13:22 +0000
commitca0d0bb971545883b50659742978c6f78275817c (patch)
treeb11f796e84e4d10f1e98f830a94e74c8e7ca69a8 /src/window.c
parent5802e919a9ae6e84a7782dfedcd72aeb8a8adf39 (diff)
(window_internal_width): Change VERTICAL_SCROLL_BAR_WIDTH to
FRAME_SCROLL_BAR_COLS.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index b2a25bd48a..7f17248642 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2340,7 +2340,7 @@ window_internal_width (w)
/* Scroll bars occupy a few columns. */
if (FRAME_HAS_VERTICAL_SCROLL_BARS (f))
- return width - VERTICAL_SCROLL_BAR_WIDTH;
+ return width - FRAME_SCROLL_BAR_COLS (f);
/* The column of `|' characters separating side-by-side windows
occupies one column only. */