--- rxvt-unicode/src/scrollbar-xterm.C 2008/02/19 17:49:16 1.32 +++ rxvt-unicode/src/scrollbar-xterm.C 2014/05/22 18:54:33 1.35 @@ -4,11 +4,11 @@ * * Copyright (c) 1997,1998 mj olesen * Copyright (c) 1999-2001 Geoff Wing - * Copyright (c) 2004-2006 Marc Lehmann + * Copyright (c) 2004-2006 Marc Lehmann * * 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, @@ -37,11 +37,11 @@ int xsb = 0; int sbwidth = width - 1; - if ((init & R_SB_XTERM) == 0) + if ((init & SB_STYLE_XTERM) == 0) { XGCValues gcvalue; - init |= R_SB_XTERM; + init |= SB_STYLE_XTERM; gcvalue.stipple = XCreateBitmapFromData (term->dpy, win, (char *)x_stp_bits, x_stp_width, x_stp_height);