Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-06-17 17:13:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-17 17:13:24 +0300
commita0a1fc89387f0f1396b5e4320c2dd4a6fedd1c25 (patch)
treebc5afe62e3b23d19cf5dbe21ee9e87839a88827d /source/blender/editors/sound
parent6453814ec033feb4549a9d565efc4ac968b2ac13 (diff)
Cleanup: BLI path extension API
Use BLI_path_extension_* prefix.
Diffstat (limited to 'source/blender/editors/sound')
-rw-r--r--source/blender/editors/sound/sound_ops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/sound/sound_ops.c b/source/blender/editors/sound/sound_ops.c
index ad8469a7c6a..b91ac3ce1ae 100644
--- a/source/blender/editors/sound/sound_ops.c
+++ b/source/blender/editors/sound/sound_ops.c
@@ -454,10 +454,10 @@ static bool sound_mixdown_check(bContext *UNUSED(C), wmOperator *op)
prop = RNA_struct_find_property(op->ptr, "filepath");
RNA_property_string_get(op->ptr, prop, filepath);
- if (BLI_testextensie_array(filepath, snd_ext_sound))
- check = BLI_replace_extension(filepath, FILE_MAX, extension);
+ if (BLI_path_extension_check_array(filepath, snd_ext_sound))
+ check = BLI_path_extension_replace(filepath, FILE_MAX, extension);
else
- check = BLI_ensure_extension(filepath, FILE_MAX, extension);
+ check = BLI_path_extension_ensure(filepath, FILE_MAX, extension);
if (!check)
return check;