Преглед изворни кода

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;


Loading…
Откажи
Сачувај