noice

small file browser
git clone git://git.2f30.org/noice
Log | Files | Refs | README | LICENSE

commit 2ab57e77995749b6c9a5b374128ba0601bfa1cbe
parent d337e25fb317391331ee6883a3c1c1a5eee890b1
Author: Alexander Huemer <alexander.huemer@xx.vu>
Date:   Mon,  4 May 2015 23:19:20 +0200

Be case insensitive for file extensions

Diffstat:
Mnoice.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/noice.c b/noice.c @@ -193,7 +193,7 @@ openwith(char *file) for (i = 0; i < LEN(assocs); i++) { if (regcomp(&regex, assocs[i].regex, - REG_NOSUB | REG_EXTENDED) != 0) + REG_NOSUB | REG_EXTENDED | REG_ICASE) != 0) continue; if (regexec(&regex, file, 0, NULL, 0) == 0) { bin = assocs[i].bin;