changeset 50326:d63b3eeca844

(xm_scroll_callback): Undo a tiny bit of the previous change.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 28 Mar 2003 14:25:14 +0000
parents 6c974c2bee89
children f139cd7e1d62
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri Mar 28 14:22:11 2003 +0000
+++ b/src/xterm.c	Fri Mar 28 14:25:14 2003 +0000
@@ -4167,7 +4167,7 @@
 	XtVaGetValues (widget, XmNsliderSize, &slider_size, NULL);
 	UNBLOCK_INPUT;
 
-	whole = XM_SB_MAX;
+	whole = XM_SB_MAX - slider_size;
 	portion = min (cs->value, whole);
 	part = scroll_bar_handle;
 	bar->dragging = make_number (cs->value);