(XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
authorGerd Moellmann <gerd@gnu.org>
Sun, 5 Sep 1999 12:13:41 +0000 (12:13 +0000)
committerGerd Moellmann <gerd@gnu.org>
Sun, 5 Sep 1999 12:13:41 +0000 (12:13 +0000)
Fix reference to renamed variable.

src/xterm.c

index 74be684..4c805fc 100644 (file)
@@ -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);