diff options
author | Kent Mein <mein@cs.umn.edu> | 2005-01-03 22:53:04 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2005-01-03 22:53:04 +0300 |
commit | 3bbc65a5f418e7b9658ef791518e5b9872745d29 (patch) | |
tree | 262b35502d49731ce9f1021583a49cf9a297bd46 /source/blender/imbuf/intern/writeimage.c | |
parent | 40813b301aff7c1cb1c574f0f6570e05a5ca5eed (diff) |
This is a pretty lame commit but here it is:
I just fixed indentation (replaced spaces with tabs where needed) and removed
#include config.h stuff from the above files.
Kent
Diffstat (limited to 'source/blender/imbuf/intern/writeimage.c')
-rw-r--r-- | source/blender/imbuf/intern/writeimage.c | 12 |
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); |