From: Gerd Moellmann Date: Sun, 5 Sep 1999 12:13:41 +0000 (+0000) Subject: (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: X-Git-Tag: emacs-pretest-21.0.90~6901 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=92857db0faa216030f36cb8796709cce324f396e;p=emacs.git (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: Fix reference to renamed variable. --- 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) dragged. */ if (NILP (bar->dragging)) { - int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, pixel_height); + int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, height); if (whole == 0) x_scroll_bar_set_handle (bar, 0, top_range, 0);