all repos — dmenu @ 72a8eb412f48edb6c3b113d2582722d1bc7c68ce

my build of dmenu

casting char to int when using tolower (thanks to Jukkas careful cosmetic checking!)
arg@suckless.org unknown
Mon, 24 Sep 2007 15:04:31 +0200
commit

72a8eb412f48edb6c3b113d2582722d1bc7c68ce

parent

975dfb41634f8f262def2549419cffb809e6f54f

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M dmenu.cdmenu.c

@@ -624,7 +624,7 @@

int strcaseido(const char *text, const char *pattern) { for(; *text && *pattern; text++) - if (tolower(*text) == tolower(*pattern)) + if(tolower((int)*text) == tolower((int)*pattern)) pattern++; return !*pattern; }