From a0a1fc89387f0f1396b5e4320c2dd4a6fedd1c25 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 17 Jun 2018 16:13:24 +0200 Subject: Cleanup: BLI path extension API Use BLI_path_extension_* prefix. --- source/blender/freestyle/intern/application/Controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/freestyle') diff --git a/source/blender/freestyle/intern/application/Controller.cpp b/source/blender/freestyle/intern/application/Controller.cpp index beb85798223..e84d85416dd 100644 --- a/source/blender/freestyle/intern/application/Controller.cpp +++ b/source/blender/freestyle/intern/application/Controller.cpp @@ -928,7 +928,7 @@ Render *Controller::RenderStrokes(Render *re, bool render) void Controller::InsertStyleModule(unsigned index, const char *iFileName) { - if (!BLI_testextensie(iFileName, ".py")) { + if (!BLI_path_extension_check(iFileName, ".py")) { cerr << "Error: Cannot load \"" << string(iFileName) << "\", unknown extension" << endl; return; } -- cgit v1.2.3