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

Comparing rxvt-unicode/src/scrollbar.C (file contents):
Revision 1.50 by ayin, Tue Jan 29 14:45:55 2008 UTC vs.
Revision 1.51 by ayin, Wed Feb 6 10:44:45 2008 UTC

229 if (thickness && (i = atoi (thickness)) >= SB_WIDTH_MINIMUM) 229 if (thickness && (i = atoi (thickness)) >= SB_WIDTH_MINIMUM)
230 width = min (i, SB_WIDTH_MAXIMUM); 230 width = min (i, SB_WIDTH_MAXIMUM);
231 231
232# ifdef RXVT_SCROLLBAR 232# ifdef RXVT_SCROLLBAR
233 if (! term->option (Opt_scrollBar_floating) && style == R_SB_RXVT) 233 if (! term->option (Opt_scrollBar_floating) && style == R_SB_RXVT)
234 scrollBar.shadow = SHADOW_WIDTH; 234 shadow = SHADOW_WIDTH;
235# endif 235# endif
236 236
237 this->style = style; 237 this->style = style;
238 this->width = width; 238 this->width = width;
239 239
240 /* scrollBar.align = R_SB_ALIGN_CENTRE; */ 240 /* align = R_SB_ALIGN_CENTRE; */
241 if (scrollalign) 241 if (scrollalign)
242 { 242 {
243 if (strncasecmp (scrollalign, "top", 3) == 0) 243 if (strncasecmp (scrollalign, "top", 3) == 0)
244 align = R_SB_ALIGN_TOP; 244 align = R_SB_ALIGN_TOP;
245 else if (strncasecmp (scrollalign, "bottom", 6) == 0) 245 else if (strncasecmp (scrollalign, "bottom", 6) == 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines