From: ayin Date: Fri, 1 Feb 2008 14:13:52 +0000 (+0000) Subject: Remove missed occurrences of scrollbar_is{Up,Dn}. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=8f45b3031a1726364539148984e44d176d0e51c5;p=dana%2Furxvt.git Remove missed occurrences of scrollbar_is{Up,Dn}. --- diff --git a/src/command.C b/src/command.C index 603e6e81..4863bb7f 100644 --- a/src/command.C +++ b/src/command.C @@ -1092,8 +1092,8 @@ rxvt_term::text_blink_cb (ev::timer &w, int revents) void rxvt_term::cont_scroll_cb (ev::timer &w, int revents) { - if ((scrollbar_isUp () || scrollbar_isDn ()) - && scr_page (scrollbar_isUp () ? UP : DN, 1)) + if ((scrollBar.state == STATE_UP || scrollBar.state == STATE_DOWN) + && scr_page (scrollBar.state == STATE_UP ? UP : DN, 1)) { want_refresh = 1; refresh_check ();