diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-25 20:49:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-25 20:49:59 +0400 |
commit | 3fc2fbc333e47c2bbc3cabd33a2cd6ada3c714fd (patch) | |
tree | ab67acc5193277c5623863eb2bbf8a46ab69da00 /source/blender/imbuf/intern/divers.c | |
parent | 6ca7d8293228e821695a3149e8fb91b0d305daeb (diff) |
style cleanup, use { on newline after function definition.
spelling 'impliment' -> 'implement'
Diffstat (limited to 'source/blender/imbuf/intern/divers.c')
-rw-r--r-- | source/blender/imbuf/intern/divers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/divers.c b/source/blender/imbuf/intern/divers.c index d9ec3bf60c6..45f58ee9d17 100644 --- a/source/blender/imbuf/intern/divers.c +++ b/source/blender/imbuf/intern/divers.c @@ -743,7 +743,8 @@ void IMB_color_to_bw(ImBuf *ibuf) } } -void IMB_buffer_float_clamp(float *buf, int width, int height){ +void IMB_buffer_float_clamp(float *buf, int width, int height) +{ int i, total = width*height*4; for(i = 0; i < total; i++){ buf[i] = MIN2(1.0, buf[i]); |