--- rxvt-unicode/src/scrollbar-plain.C 2011/02/21 07:41:04 1.27 +++ rxvt-unicode/src/scrollbar-plain.C 2014/05/22 18:54:33 1.29 @@ -8,7 +8,7 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -33,11 +33,11 @@ int xsb = 0; int sbwidth = width - 1; - if ((init & R_SB_PLAIN) == 0) + if ((init & SB_STYLE_PLAIN) == 0) { XGCValues gcvalue; - init |= R_SB_PLAIN; + init |= SB_STYLE_PLAIN; gcvalue.foreground = term->pix_colors_focused[Color_scroll]; pscrollbarGC = XCreateGC (term->dpy, win, GCForeground, &gcvalue);