tapplied next patch of Sander - dmenu - Dmenu fork with xft fonts.
(HTM) git clone git://r-36.net/dmenu
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 301b4e55912dc611bd941002b27c72f17fcc5b39
(DIR) parent 38b866ba3453e2a7567b084a353e50a36ed92221
(HTM) Author: Anselm R Garbe <garbeam@gmail.com>
Date: Thu, 13 Mar 2008 12:02:29 +0000
applied next patch of Sander
Diffstat:
dmenu.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/dmenu.c b/dmenu.c
t@@ -505,9 +505,8 @@ match(char *pattern) {
item = j = NULL;
nitem = 0;
for(i = allitems; i; i = i->next)
- if(!fstrncmp(pattern, i->text, plen))
- j = appenditem(i, j);
- else if(fstrstr(i->text, pattern))
+ if(!fstrncmp(pattern, i->text, plen)
+ || fstrstr(i->text, pattern))
j = appenditem(i, j);
curr = prev = next = sel = item;
calcoffsets();