mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
cvsimport
* refs/heads/master: Case matters for menu matching on executables; from ben@lloyd.im.
This commit is contained in:
commit
087b803b45
2
search.c
2
search.c
@ -201,7 +201,7 @@ search_match_exec(struct menu_q *menuq, struct menu_q *resultq, char *search)
|
||||
fnmatch(search, mi->text, 0) == FNM_NOMATCH)
|
||||
continue;
|
||||
TAILQ_FOREACH(mj, resultq, resultentry) {
|
||||
r = strcasecmp(mi->text, mj->text);
|
||||
r = strcmp(mi->text, mj->text);
|
||||
if (r < 0)
|
||||
TAILQ_INSERT_BEFORE(mj, mi, resultentry);
|
||||
if (r <= 0)
|
||||
|
Loading…
Reference in New Issue
Block a user