changeset 3750:3b640cb97e74

* xdisp.c (redisplay_window): No need to subtract BEGV to compute the scroll bar handle's end.
author Jim Blandy <jimb@redhat.com>
date Wed, 16 Jun 1993 14:13:15 +0000
parents f3f6220ce685
children 72997ec201f2
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Jun 16 06:47:09 1993 +0000
+++ b/src/xdisp.c	Wed Jun 16 14:13:15 1993 +0000
@@ -1079,7 +1079,7 @@
 	  start = startp - BEGV;
 	  /* I don't think this is guaranteed to be right.  For the
 	     moment, we'll pretend it is.  */
-	  end = (Z - XINT (w->window_end_pos)) - BEGV;
+	  end = (Z - XINT (w->window_end_pos));
 
 	  if (end < start) end = start;
 	  if (whole < (end - start)) whole = end - start;