style cleanup
[blender.git] / source / blender / nodes / composite / nodes / node_composite_channelMatte.c
index cda6fa85d74f6d5760672b808315d694939d190e..06b77de463b1e487dc74e46d728b0ab01e1f67d6 100644 (file)
@@ -82,15 +82,18 @@ static void do_channel_matte(bNode *node, float *out, float *in)
        }
        case 1: { /* Alpha=G-MAX(R, B) */
                switch (node->custom2) {
-                       case 1: {
+                       case 1:
+                       {
                                alpha=in[0]-MAX2(in[1], in[2]);
                                break;
                        }
-                       case 2: {
+                       case 2:
+                       {
                                alpha=in[1]-MAX2(in[0], in[2]);
                                break;
                        }
-                       case 3: {
+                       case 3:
+                       {
                                alpha=in[2]-MAX2(in[0], in[1]);
                                break;
                        }