diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 74be684d7d9..4c805fc7031 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -8047,7 +8047,7 @@ XTset_vertical_scroll_bar (w, portion, whole, position) | |||
| 8047 | dragged. */ | 8047 | dragged. */ |
| 8048 | if (NILP (bar->dragging)) | 8048 | if (NILP (bar->dragging)) |
| 8049 | { | 8049 | { |
| 8050 | int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, pixel_height); | 8050 | int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, height); |
| 8051 | 8051 | ||
| 8052 | if (whole == 0) | 8052 | if (whole == 0) |
| 8053 | x_scroll_bar_set_handle (bar, 0, top_range, 0); | 8053 | x_scroll_bar_set_handle (bar, 0, top_range, 0); |