aboutsummaryrefslogtreecommitdiff
path: root/dmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu.c')
-rw-r--r--dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu.c b/dmenu.c
index dea227e..b28a548 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -624,7 +624,7 @@ setup(Bool bottom) {
624int 624int
625strcaseido(const char *text, const char *pattern) { 625strcaseido(const char *text, const char *pattern) {
626 for(; *text && *pattern; text++) 626 for(; *text && *pattern; text++)
627 if (tolower(*text) == tolower(*pattern)) 627 if(tolower((int)*text) == tolower((int)*pattern))
628 pattern++; 628 pattern++;
629 return !*pattern; 629 return !*pattern;
630} 630}