diff options
author | okan <okan> | 2017-09-06 14:15:13 +0000 |
---|---|---|
committer | okan <okan> | 2017-09-06 14:15:13 +0000 |
commit | 087b803b455f51f01b5a4173dbe70b5c541591b4 (patch) | |
tree | 8793ecf79268a65d62b87ded57f638d9578ad636 | |
parent | 5a46349ec798912f2b5329cc1dbc04ec8595038a (diff) | |
parent | 7d7e2563962c338daeb61f24573fc0a64a958121 (diff) | |
download | cwm-087b803b455f51f01b5a4173dbe70b5c541591b4.tar.gz cwm-087b803b455f51f01b5a4173dbe70b5c541591b4.tar.xz cwm-087b803b455f51f01b5a4173dbe70b5c541591b4.zip |
cvsimport
* refs/heads/master: Case matters for menu matching on executables; from ben@lloyd.im.
-rw-r--r-- | search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/search.c b/search.c index 63ebdbd..7d32291 100644 --- a/search.c +++ b/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) |