--- rxvt-unicode/src/scrollbar-next.C 2005/04/22 12:52:28 1.17 +++ rxvt-unicode/src/scrollbar-next.C 2005/12/20 19:31:00 1.19 @@ -242,7 +242,7 @@ init_scrollbar_stuff (); } - if (TermWin.nscrolled == 0 || !update) + if (nsaved == 0 || !update) { XFillRectangle (disp, scrollBar.win, grayGC, 0, 0, SB_WIDTH_NEXT + 1, height); @@ -253,7 +253,7 @@ SB_LEFT_PADDING, 0, SB_BUTTON_WIDTH, height); } - if (TermWin.nscrolled) + if (nsaved) { if (last_top < scrollBar.top || !update) XFillRectangle (disp, scrollBar.win, stippleGC,