--- rxvt-unicode/src/scrollbar-plain.C 2004/04/08 20:31:45 1.6 +++ rxvt-unicode/src/scrollbar-plain.C 2004/08/15 22:09:24 1.9 @@ -23,7 +23,6 @@ #include "../config.h" /* NECESSARY */ #include "rxvt.h" /* NECESSARY */ -#include "scrollbar-plain.intpro" /* PROTOS for internal routines */ /*----------------------------------------------------------------------*/ #if defined(PLAIN_SCROLLBAR) @@ -39,14 +38,14 @@ XGCValues gcvalue; scrollBar.init |= R_SB_PLAIN; - gcvalue.foreground = PixColors[Color_fg]; - gcvalue.background = PixColors[Color_bg]; + gcvalue.foreground = pix_colors[Color_fg]; + gcvalue.background = pix_colors[Color_bg]; pscrollbarGC = XCreateGC (display->display, scrollBar.win, GCForeground | GCBackground, &gcvalue); } /* instead of XClearWindow (display->display, scrollBar.win); */ - xsb = (Options & Opt_scrollBar_right) ? 1 : 0; + xsb = (options & Opt_scrollBar_right) ? 1 : 0; if (last_top < scrollBar.top) XClearArea (display->display, scrollBar.win, sb_shadow + xsb, last_top,