--- rxvt-unicode/src/scrollbar-plain.C 2006/01/31 19:11:43 1.16 +++ rxvt-unicode/src/scrollbar-plain.C 2006/01/31 19:20:59 1.17 @@ -40,8 +40,7 @@ scrollBar.init |= R_SB_PLAIN; gcvalue.foreground = pix_colors_focused[Color_scroll]; - pscrollbarGC = XCreateGC (xdisp, scrollBar.win, - GCForeground, &gcvalue); + pscrollbarGC = XCreateGC (xdisp, scrollBar.win, GCForeground, &gcvalue); } xsb = OPTION (Opt_scrollBar_right) ? 1 : 0; @@ -50,12 +49,12 @@ { if (last_top < scrollBar.top) XClearArea (xdisp, scrollBar.win, - sb_shadow + xsb, last_top, + sb_shadow, last_top, sbwidth + 1, (scrollBar.top - last_top), False); if (scrollBar.bot < last_bot) XClearArea (xdisp, scrollBar.win, - sb_shadow + xsb, scrollBar.bot, + sb_shadow, scrollBar.bot, sbwidth + 1, (last_bot - scrollBar.bot), False); } else