瀏覽代碼

applied next patch of Sander

master
Anselm R Garbe 16 年之前
父節點
當前提交
301b4e5591
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. +2
    -3
      dmenu.c

+ 2
- 3
dmenu.c 查看文件

@@ -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();


Loading…
取消
儲存