diff options
-rw-r--r-- | dmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -624,7 +624,7 @@ setup(Bool bottom) { | |||
624 | int | 624 | int |
625 | strcaseido(const char *text, const char *pattern) { | 625 | strcaseido(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 | } |