repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: ddb16e72b29dd2594269ff7feac8de4e8d4fedb6: path_to: revision_to:
commit ddb16e72b29dd2594269ff7feac8de4e8d4fedb6 Author: Emanuele GiaquintaDate: Sat Dec 29 14:52:55 2007 +0000 Remove use of isupper. diff --git a/src/scrollbar.h b/src/scrollbar.h
--- a/src/scrollbar.h
+++ b/src/scrollbar.h
@@ -28,7 +28,7 @@ typedef struct {
#define scrollbar_isMotion() (scrollBar.state == 'm')
#define scrollbar_isUp() (scrollBar.state == 'U')
#define scrollbar_isDn() (scrollBar.state == 'D')
-#define scrollbar_isUpDn() isupper (scrollBar.state)
+#define scrollbar_isUpDn() (scrollbar_isUp () || scrollbar_isDn ())
#define isScrollbarWindow(w) (scrollBar.state && (w) == scrollBar.win)
#define scrollbarnext_dnval() (scrollBar.end + (scrollBar.width + 1))
-----END OF PAGE-----