File Browser: Recognize .fountain files as text files

D6288 by @tintwotin
This commit is contained in:
Jacques Lucke 2020-02-27 13:07:11 +01:00
parent abc040f26c
commit aa4579c35f
1 changed files with 11 additions and 2 deletions

View File

@ -2181,8 +2181,17 @@ int ED_path_extension_type(const char *path)
else if (BLI_path_extension_check(path, ".py")) {
return FILE_TYPE_PYSCRIPT;
}
else if (BLI_path_extension_check_n(
path, ".txt", ".glsl", ".osl", ".data", ".pov", ".ini", ".mcr", ".inc", NULL)) {
else if (BLI_path_extension_check_n(path,
".txt",
".glsl",
".osl",
".data",
".pov",
".ini",
".mcr",
".inc",
".fountain",
NULL)) {
return FILE_TYPE_TEXT;
}
else if (BLI_path_extension_check_n(path, ".ttf", ".ttc", ".pfb", ".otf", ".otc", NULL)) {