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:
Diffstat (limited to 'source/blender/blenkernel/intern/image.c')
-rw-r--r--source/blender/blenkernel/intern/image.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c
index 3b91afbc126..27779ef8107 100644
--- a/source/blender/blenkernel/intern/image.c
+++ b/source/blender/blenkernel/intern/image.c
@@ -1148,8 +1148,9 @@ int BKE_add_image_extension(char *string, const char imtype)
if (extension) {
/* prefer this in many cases to avoid .png.tga, but in certain cases it breaks */
/* remove any other known image extension */
- if (BLI_testextensie_array(string, imb_ext_image)
- || (G.have_quicktime && BLI_testextensie_array(string, imb_ext_image_qt))) {
+ if (BLI_testextensie_array(string, imb_ext_image) ||
+ (G.have_quicktime && BLI_testextensie_array(string, imb_ext_image_qt)))
+ {
return BLI_replace_extension(string, FILE_MAX, extension);
}
else {