diff options
author | okan <okan> | 2017-09-06 14:15:13 +0000 |
---|---|---|
committer | okan <okan> | 2017-09-06 14:15:13 +0000 |
commit | 7d7e2563962c338daeb61f24573fc0a64a958121 (patch) | |
tree | f16780bb417de4995ee9bf559078a8c000ae4084 | |
parent | 8dee1182a2a65a0286c68310f6f5181560f6275a (diff) | |
download | cwm-7d7e2563962c338daeb61f24573fc0a64a958121.tar.gz cwm-7d7e2563962c338daeb61f24573fc0a64a958121.tar.xz cwm-7d7e2563962c338daeb61f24573fc0a64a958121.zip |
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 2f8897d..897623d 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) |