From 344aa29da421125e8e354254e6f7a852d7a0a340 Mon Sep 17 00:00:00 2001 From: ayin Date: Sat, 29 Dec 2007 14:52:55 +0000 Subject: [PATCH] Remove use of isupper. --- src/scrollbar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scrollbar.h b/src/scrollbar.h index 53ac5957..14454a2b 100644 --- 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)) -- 2.34.1