diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-23 04:01:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-23 04:22:22 +0300 |
commit | 64b4b719ebd5201d27aa25d7fa2d765eabded9b0 (patch) | |
tree | c6e1147f3b81b90193d3acaa0df3f8c5c93db328 /source/blender/imbuf/intern/rotate.c | |
parent | ac53291e1ff79144ca41d63b0787bfe04da21677 (diff) |
Cleanup: style, use braces for imbuf
Diffstat (limited to 'source/blender/imbuf/intern/rotate.c')
-rw-r--r-- | source/blender/imbuf/intern/rotate.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/rotate.c b/source/blender/imbuf/intern/rotate.c index 2b200abc852..e387901aaab 100644 --- a/source/blender/imbuf/intern/rotate.c +++ b/source/blender/imbuf/intern/rotate.c @@ -34,8 +34,9 @@ void IMB_flipy(struct ImBuf *ibuf) { int x, y; - if (ibuf == NULL) + if (ibuf == NULL) { return; + } if (ibuf->rect) { unsigned int *top, *bottom, *line; @@ -89,8 +90,9 @@ void IMB_flipx(struct ImBuf *ibuf) int x, y, xr, xl, yi; float px_f[4]; - if (ibuf == NULL) + if (ibuf == NULL) { return; + } x = ibuf->x; y = ibuf->y; |