Browse Source

small cosmetic fix

master
Anselm R. Garbe 17 years ago
parent
commit
6514b07ad2
  1. 2
      dmenu.c

2
dmenu.c

@ -510,7 +510,7 @@ match(char *pattern) {
for(i = allitems; i; i = i->next) for(i = allitems; i; i = i->next)
if(!i->matched && !strncasecmp(pattern, i->text, plen)) if(!i->matched && !strncasecmp(pattern, i->text, plen))
j = appenditem(i,j); j = appenditem(i, j);
for (i = allitems; i; i = i->next) for (i = allitems; i; i = i->next)
if(!i->matched && strcasestr(i->text, pattern)) if(!i->matched && strcasestr(i->text, pattern))

Loading…
Cancel
Save