ソースを参照

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


読み込み中…
キャンセル
保存