diff src/redisplay-x.c @ 282:c42ec1d1cded r21-0b39

Import from CVS: tag r21-0b39
author cvs
date Mon, 13 Aug 2007 10:33:18 +0200
parents c5d627a313b1
children 558f606b08ae
line wrap: on
line diff
--- a/src/redisplay-x.c	Mon Aug 13 10:32:23 2007 +0200
+++ b/src/redisplay-x.c	Mon Aug 13 10:33:18 2007 +0200
@@ -1408,7 +1408,7 @@
   int y1, y2;
 
 #ifdef HAVE_SCROLLBARS
-  if (f->scrollbar_on_left)
+  if (!NILP (w->scrollbar_on_left_p))
 #endif
     x1 = WINDOW_LEFT (w);
 #ifdef HAVE_SCROLLBARS
@@ -1418,7 +1418,7 @@
   x2 = x1 + X_DIVIDER_SPACING;
 
 #ifdef HAVE_SCROLLBARS
-  if (f->scrollbar_on_top)
+  if (!NILP (w->scrollbar_on_top_p))
     y1 = WINDOW_TOP (w);
   else
 #endif