Fix build with rxvt style scrollbar enabled.
authorayin <ayin>
Wed, 6 Feb 2008 10:44:45 +0000 (10:44 +0000)
committerayin <ayin>
Wed, 6 Feb 2008 10:44:45 +0000 (10:44 +0000)
src/scrollbar.C

index a55c1d6..c676cbf 100644 (file)
@@ -231,13 +231,13 @@ scrollBar_t::setup (rxvt_term *term)
 
 # ifdef RXVT_SCROLLBAR
   if (! term->option (Opt_scrollBar_floating) && style == R_SB_RXVT)
-    scrollBar.shadow = SHADOW_WIDTH;
+    shadow = SHADOW_WIDTH;
 # endif
 
   this->style = style;
   this->width = width;
 
-  /* scrollBar.align = R_SB_ALIGN_CENTRE; */
+  /* align = R_SB_ALIGN_CENTRE; */
   if (scrollalign)
     {
       if (strncasecmp (scrollalign, "top", 3) == 0)