File Browser: Recognize .fountain files as text files
D6288 by @tintwotin
This commit is contained in:
@@ -2181,8 +2181,17 @@ int ED_path_extension_type(const char *path)
|
|||||||
else if (BLI_path_extension_check(path, ".py")) {
|
else if (BLI_path_extension_check(path, ".py")) {
|
||||||
return FILE_TYPE_PYSCRIPT;
|
return FILE_TYPE_PYSCRIPT;
|
||||||
}
|
}
|
||||||
else if (BLI_path_extension_check_n(
|
else if (BLI_path_extension_check_n(path,
|
||||||
path, ".txt", ".glsl", ".osl", ".data", ".pov", ".ini", ".mcr", ".inc", NULL)) {
|
".txt",
|
||||||
|
".glsl",
|
||||||
|
".osl",
|
||||||
|
".data",
|
||||||
|
".pov",
|
||||||
|
".ini",
|
||||||
|
".mcr",
|
||||||
|
".inc",
|
||||||
|
".fountain",
|
||||||
|
NULL)) {
|
||||||
return FILE_TYPE_TEXT;
|
return FILE_TYPE_TEXT;
|
||||||
}
|
}
|
||||||
else if (BLI_path_extension_check_n(path, ".ttf", ".ttc", ".pfb", ".otf", ".otc", NULL)) {
|
else if (BLI_path_extension_check_n(path, ".ttf", ".ttc", ".pfb", ".otf", ".otc", NULL)) {
|
||||||
|
Reference in New Issue
Block a user