--- rxvt-unicode/src/scrollbar-rxvt.C 2005/02/04 11:41:23 1.17 +++ rxvt-unicode/src/scrollbar-rxvt.C 2005/12/31 17:16:17 1.19 @@ -134,6 +134,7 @@ if ((scrollBar.init & R_SB_RXVT) == 0) { scrollBar.init |= R_SB_RXVT; + if (sbshadow) { XSetWindowBackground (display->display, scrollBar.win, pix_colors_focused[Color_trough]); @@ -165,7 +166,7 @@ { int xofs; - if (options & Opt_scrollBar_right) + if (OPTION (Opt_scrollBar_right)) xofs = 0; else xofs = sbshadow ? sbwidth : sbwidth - 1; @@ -201,3 +202,4 @@ } #endif /* RXVT_SCROLLBAR */ /*----------------------- end-of-file (C source) -----------------------*/ +