--- rxvt-unicode/src/scrollbar-xterm.C 2004/02/13 12:16:21 1.8 +++ rxvt-unicode/src/scrollbar-xterm.C 2004/06/21 22:24:07 1.11 @@ -1,9 +1,10 @@ /*--------------------------------*-C-*---------------------------------* - * File: scrollbar-xterm.c + * File: scrollbar-xterm.C *----------------------------------------------------------------------* * * Copyright (c) 1997,1998 mj olesen * Copyright (c) 1999-2001 Geoff Wing + * Copyright (c) 2004 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 @@ -46,17 +47,15 @@ (char *)x_stp_bits, x_stp_width, x_stp_height); if (!gcvalue.stipple) - { - rxvt_print_error ("can't create bitmap"); - exit (EXIT_FAILURE); - } + rxvt_fatal ("can't create bitmap"); + gcvalue.fill_style = FillOpaqueStippled; gcvalue.foreground = PixColors[Color_fg]; gcvalue.background = PixColors[Color_bg]; xscrollbarGC = XCreateGC (display->display, scrollBar.win, - GCForeground | GCBackground - | GCFillStyle | GCStipple, &gcvalue); + GCForeground | GCBackground + | GCFillStyle | GCStipple, &gcvalue); gcvalue.foreground = PixColors[Color_border]; ShadowGC = XCreateGC (display->display, scrollBar.win, GCForeground, &gcvalue); }