diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-23 19:10:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-24 09:09:24 +0300 |
commit | fcda27cdaedfcf79607b13dbf5c6fe670e95d2ac (patch) | |
tree | b2c1e96fd987bc0e8d7fb5d3c120cca2d1793717 /source/blender/imbuf | |
parent | ae213d740da1416df229e06616c883d979cfd640 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/intern/bmp.c | 4 | ||||
-rw-r--r-- | source/blender/imbuf/intern/cineon/dpxlib.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/imbuf/intern/bmp.c b/source/blender/imbuf/intern/bmp.c index 8853fe449ba..6d24f9b73d8 100644 --- a/source/blender/imbuf/intern/bmp.c +++ b/source/blender/imbuf/intern/bmp.c @@ -298,7 +298,9 @@ int imb_savebmp(struct ImBuf *ibuf, const char *name, int flags) if (putc(data[ptr], ofile) == EOF) return 0; } /* add padding here */ - for (t = 0; t < extrabytes; t++) if (putc(0, ofile) == EOF) return 0; + for (t = 0; t < extrabytes; t++) { + if (putc(0, ofile) == EOF) return 0; + } } if (ofile) { fflush(ofile); diff --git a/source/blender/imbuf/intern/cineon/dpxlib.c b/source/blender/imbuf/intern/cineon/dpxlib.c index f7362d76913..23e5517bb09 100644 --- a/source/blender/imbuf/intern/cineon/dpxlib.c +++ b/source/blender/imbuf/intern/cineon/dpxlib.c @@ -183,8 +183,10 @@ LogImageFile *dpxOpen(const unsigned char *byteStuff, int fromMemory, size_t buf if (verbose) printf("DPX: File is LSB.\n"); } else { - if (verbose) printf("DPX: Bad magic number %lu in \"%s\".\n", - (uintptr_t)header.fileHeader.magic_num, byteStuff); + if (verbose) { + printf("DPX: Bad magic number %lu in \"%s\".\n", + (uintptr_t)header.fileHeader.magic_num, byteStuff); + } logImageClose(dpx); return NULL; } |