changeset: 222:f3f041c8996b
tag: tip
user: Anselm R. Garbe <garbeam_AT_gmail.com>
date: Sun Sep 23 18:32:08 2007 +0200
summary: yet another cosmetic fix
diff -r 3a67f7b02d1a -r f3f041c8996b dmenu.c
--- a/dmenu.c Sun Sep 23 18:31:19 2007 +0200
+++ b/dmenu.c Sun Sep 23 18:32:08 2007 +0200
@@ -507,20 +507,16 @@ match(char *pattern) {
nitem = 0;
for(i = allitems; i; i=i->next)
i->matched = False;
-
for(i = allitems; i; i = i->next)
if(!i->matched && !strncasecmp(pattern, i->text, plen))
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))
j = appenditem(i, j);
-
if(idomatch)
- for (i = allitems; i; i = i->next)
+ for(i = allitems; i; i = i->next)
if(!i->matched && strcaseido(i->text, pattern))
j = appenditem(i, j);
-
curr = prev = next = sel = item;
calcoffsets();
}
Received on Sun Sep 23 2007 - 18:33:42 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:58:16 UTC