]> git.eshelyaron.com Git - emacs.git/commitdiff
(pos_visible_p): Yet another int/Lisp_Object mixup (YAILOM).
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 26 Aug 2005 15:56:48 +0000 (15:56 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 26 Aug 2005 15:56:48 +0000 (15:56 +0000)
src/xdisp.c

index 5306533dd592b26ae758264bada9e610577c79fd..f81dfb6755a2a8189042c3fad714054b15c51b37 100644 (file)
@@ -1347,8 +1347,8 @@ pos_visible_p (w, charpos, x, y, rtop, rbot, exact_mode_line_heights_p)
 
   current_header_line_height = current_mode_line_height = -1;
 
-  if (visible_p && w->hscroll > 0)
-    *x -= w->hscroll;
+  if (visible_p && XFASTINT (w->hscroll) > 0)
+    *x -= XFASTINT (w->hscroll);
 
   return visible_p;
 }