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/imbuf/intern/writeimage.c')
-rw-r--r--source/blender/imbuf/intern/writeimage.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/imbuf/intern/writeimage.c b/source/blender/imbuf/intern/writeimage.c
index abbc8356aa4..ffc1c12d00d 100644
--- a/source/blender/imbuf/intern/writeimage.c
+++ b/source/blender/imbuf/intern/writeimage.c
@@ -70,16 +70,16 @@ short IMB_saveiff(struct ImBuf *ibuf,char *naam,int flags)
}
if (IS_png(ibuf)) {
return imb_savepng(ibuf,naam,flags);
- }
- if (IS_bmp(ibuf)) {
- return imb_savebmp(ibuf,naam,flags);
- }
+ }
+ if (IS_bmp(ibuf)) {
+ return imb_savebmp(ibuf,naam,flags);
+ }
if (IS_tga(ibuf)) {
return imb_savetarga(ibuf,naam,flags);
- }
+ }
if (IS_iris(ibuf)) {
return imb_saveiris(ibuf,naam,flags);
- }
+ }
file = open(naam, O_BINARY | O_RDWR | O_CREAT | O_TRUNC, 0666);
if (file < 0) return (FALSE);