fix for struct definition building with msvc2008 and some style cleanup.
[blender-staging.git] / source / blender / editors / sculpt_paint / paint_image_proj.c
index a90e9150345a2633052583879bd0b7b986578832..7a0f7b817b30ef1904601bf102d282d8e1c2a870 100644 (file)
@@ -116,10 +116,10 @@ BLI_INLINE unsigned char f_to_char(const float val)
 } (void)0
 
 #define IMAPAINT_CHAR_RGBA_TO_FLOAT(f, c)  {                                  \
-       (f)[0] = IMAPAINT_CHAR_TO_FLOAT((c)[0]);                                   \
-       (f)[1] = IMAPAINT_CHAR_TO_FLOAT((c)[1]);                                   \
-       (f)[2] = IMAPAINT_CHAR_TO_FLOAT((c)[2]);                                   \
-       (f)[3] = IMAPAINT_CHAR_TO_FLOAT((c)[3]);                                   \
+       (f)[0] = IMAPAINT_CHAR_TO_FLOAT((c)[0]);                                  \
+       (f)[1] = IMAPAINT_CHAR_TO_FLOAT((c)[1]);                                  \
+       (f)[2] = IMAPAINT_CHAR_TO_FLOAT((c)[2]);                                  \
+       (f)[3] = IMAPAINT_CHAR_TO_FLOAT((c)[3]);                                  \
 } (void)0
 
 #define IMAPAINT_FLOAT_RGB_TO_CHAR(c, f)  {                                   \