File Browser: Recognize .fountain files as text files
D6288 by @tintwotin
This commit is contained in:
parent
abc040f26c
commit
aa4579c35f
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue