ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/scrollbar-xterm.C
(Generate patch)

Comparing rxvt-unicode/src/scrollbar-xterm.C (file contents):
Revision 1.33 by root, Mon Feb 21 07:41:04 2011 UTC vs.
Revision 1.34 by sf-exg, Thu Sep 1 08:11:27 2011 UTC

35scrollBar_t::show_xterm (int update) 35scrollBar_t::show_xterm (int update)
36{ 36{
37 int xsb = 0; 37 int xsb = 0;
38 int sbwidth = width - 1; 38 int sbwidth = width - 1;
39 39
40 if ((init & R_SB_XTERM) == 0) 40 if ((init & SB_STYLE_XTERM) == 0)
41 { 41 {
42 XGCValues gcvalue; 42 XGCValues gcvalue;
43 43
44 init |= R_SB_XTERM; 44 init |= SB_STYLE_XTERM;
45 gcvalue.stipple = XCreateBitmapFromData (term->dpy, win, 45 gcvalue.stipple = XCreateBitmapFromData (term->dpy, win,
46 (char *)x_stp_bits, x_stp_width, 46 (char *)x_stp_bits, x_stp_width,
47 x_stp_height); 47 x_stp_height);
48 if (!gcvalue.stipple) 48 if (!gcvalue.stipple)
49 rxvt_fatal ("can't create bitmap\n"); 49 rxvt_fatal ("can't create bitmap\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines