Remove missed occurrences of scrollbar_is{Up,Dn}.
authorayin <ayin>
Fri, 1 Feb 2008 14:13:52 +0000 (14:13 +0000)
committerayin <ayin>
Fri, 1 Feb 2008 14:13:52 +0000 (14:13 +0000)
src/command.C

index 603e6e81e9090c6191b0623ff3ef52f1045a5f73..4863bb7f5a418c06c232019b22334331037a5dad 100644 (file)
@@ -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 ();