repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 0eff5ed8dbe4e9aabd06c2fa6775632d23003345: path_to: revision_to:
commit 0eff5ed8dbe4e9aabd06c2fa6775632d23003345 Author: Emanuele GiaquintaDate: Sun Feb 17 19:07:20 2008 +0000 Fix indentation. diff --git a/src/scrollbar-xterm.C b/src/scrollbar-xterm.C
--- a/src/scrollbar-xterm.C
+++ b/src/scrollbar-xterm.C
@@ -43,8 +43,8 @@ rxvt_term::scrollbar_show_xterm (int update, int last_top, int last_bot, int scr
scrollBar.init |= R_SB_XTERM;
gcvalue.stipple = XCreateBitmapFromData (dpy, scrollBar.win,
- (char *)x_stp_bits, x_stp_width,
- x_stp_height);
+ (char *)x_stp_bits, x_stp_width,
+ x_stp_height);
if (!gcvalue.stipple)
rxvt_fatal ("can't create bitmap\n");
@@ -65,24 +65,24 @@ rxvt_term::scrollbar_show_xterm (int update, int last_top, int last_bot, int scr
{
if (last_top < scrollBar.top)
XClearArea (dpy, scrollBar.win,
- xsb, last_top,
- sbwidth, (scrollBar.top - last_top), False);
+ xsb, last_top,
+ sbwidth, (scrollBar.top - last_top), False);
if (scrollBar.bot < last_bot)
XClearArea (dpy, scrollBar.win,
- xsb, scrollBar.bot,
- sbwidth, (last_bot - scrollBar.bot), False);
+ xsb, scrollBar.bot,
+ sbwidth, (last_bot - scrollBar.bot), False);
}
else
XClearWindow (dpy, scrollBar.win);
/* scrollbar slider */
XFillRectangle (dpy, scrollBar.win, xscrollbarGC,
- xsb + 1, scrollBar.top, sbwidth - 2, scrollbar_len);
+ xsb + 1, scrollBar.top, sbwidth - 2, scrollbar_len);
XDrawLine (dpy, scrollBar.win, ShadowGC,
- xsb ? 0 : sbwidth, scrollBar.beg,
- xsb ? 0 : sbwidth, scrollBar.end);
+ xsb ? 0 : sbwidth, scrollBar.beg,
+ xsb ? 0 : sbwidth, scrollBar.end);
return 1;
}
#endif /* XTERM_SCROLLBAR */
-----END OF PAGE-----