소스 검색

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


불러오는 중...
취소
저장