diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-17 17:13:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-17 17:13:24 +0300 |
commit | a0a1fc89387f0f1396b5e4320c2dd4a6fedd1c25 (patch) | |
tree | bc5afe62e3b23d19cf5dbe21ee9e87839a88827d /source/blender/python | |
parent | 6453814ec033feb4549a9d565efc4ac968b2ac13 (diff) |
Cleanup: BLI path extension API
Use BLI_path_extension_* prefix.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c index aca50c2e15f..c84765e9a47 100644 --- a/source/blender/python/intern/bpy_interface.c +++ b/source/blender/python/intern/bpy_interface.c @@ -723,7 +723,7 @@ void BPY_modules_load_user(bContext *C) bpy_context_set(C, &gilstate); for (text = bmain->text.first; text; text = text->id.next) { - if (text->flags & TXT_ISSCRIPT && BLI_testextensie(text->id.name + 2, ".py")) { + if (text->flags & TXT_ISSCRIPT && BLI_path_extension_check(text->id.name + 2, ".py")) { if (!(G.f & G_SCRIPT_AUTOEXEC)) { if (!(G.f & G_SCRIPT_AUTOEXEC_FAIL_QUIET)) { G.f |= G_SCRIPT_AUTOEXEC_FAIL; |