Mercurial > emacs
comparison src/xterm.c @ 25541:be975dcf4a0c
(XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
Fix reference to renamed variable.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sun, 05 Sep 1999 12:13:41 +0000 |
parents | 7ae6423812ae |
children | 693ca9ba497a |
comparison
equal
deleted
inserted
replaced
25540:2b4bdd114899 | 25541:be975dcf4a0c |
---|---|
8045 #else /* not USE_TOOLKIT_SCROLL_BARS */ | 8045 #else /* not USE_TOOLKIT_SCROLL_BARS */ |
8046 /* Set the scroll bar's current state, unless we're currently being | 8046 /* Set the scroll bar's current state, unless we're currently being |
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); |
8054 else | 8054 else |
8055 { | 8055 { |