diff options
| author | 2015-05-04 23:19:20 +0200 | |
|---|---|---|
| committer | 2015-05-05 10:50:11 +0100 | |
| commit | 2ab57e77995749b6c9a5b374128ba0601bfa1cbe (patch) | |
| tree | f0ad000220ba6d210520337deef493887ae0c7d7 | |
| parent | d337e25fb317391331ee6883a3c1c1a5eee890b1 (diff) | |
| download | nnn-2ab57e77995749b6c9a5b374128ba0601bfa1cbe.tar.gz | |
Be case insensitive for file extensions
| -rw-r--r-- | noice.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -193,7 +193,7 @@ openwith(char *file) for (i = 0; i < LEN(assocs); i++) { if (regcomp(®ex, assocs[i].regex, - REG_NOSUB | REG_EXTENDED) != 0) + REG_NOSUB | REG_EXTENDED | REG_ICASE) != 0) continue; if (regexec(®ex, file, 0, NULL, 0) == 0) { bin = assocs[i].bin; |