浏览代码

Be case insensitive for file extensions

master
Alexander Huemer sin 10 年前
父节点
当前提交
2ab57e7799
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      noice.c

+ 1
- 1
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;


正在加载...
取消
保存