diff src/scrollbar.c @ 1708:a19b0eb5dfc1

[xemacs-hg @ 2003-09-22 04:21:42 by james] Add new pos-visible-in-window-p parameter for Emacs compatibility.
author james
date Mon, 22 Sep 2003 04:21:43 +0000
parents b531bf8658e9
children 04bc9d2f42c7
line wrap: on
line diff
--- a/src/scrollbar.c	Mon Sep 22 03:22:16 2003 +0000
+++ b/src/scrollbar.c	Mon Sep 22 04:21:43 2003 +0000
@@ -692,7 +692,7 @@
       else
 	Fset_window_point (win, make_int (start_pos));
     }
-  else if (!point_would_be_visible (XWINDOW (win), start_pos, ptint))
+  else if (!point_would_be_visible (XWINDOW (win), start_pos, ptint, 0))
     {
       Fmove_to_window_line (make_int (-1), win);