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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/imbuf/intern/writeimage.c b/source/blender/imbuf/intern/writeimage.c
index 8fbed6da32b..60fc7db6465 100644
--- a/source/blender/imbuf/intern/writeimage.c
+++ b/source/blender/imbuf/intern/writeimage.c
@@ -44,13 +44,13 @@ short IMB_saveiff(struct ImBuf *ibuf, const char *name, int flags)
{
ImFileType *type;
- if(ibuf == NULL) return (FALSE);
+ if (ibuf == NULL) return (FALSE);
ibuf->flags = flags;
- for(type=IMB_FILE_TYPES; type->is_a; type++) {
- if(type->save && type->ftype(type, ibuf)) {
- if(!(type->flag & IM_FTYPE_FLOAT)) {
- if(ibuf->rect==NULL && ibuf->rect_float)
+ for (type=IMB_FILE_TYPES; type->is_a; type++) {
+ if (type->save && type->ftype(type, ibuf)) {
+ if (!(type->flag & IM_FTYPE_FLOAT)) {
+ if (ibuf->rect==NULL && ibuf->rect_float)
IMB_rect_from_float(ibuf);
}
return type->save(ibuf, name, flags);