style cleanup: follow style guide for formatting of if/for/while loops, and else...
[blender.git] / source / blender / nodes / composite / nodes / node_composite_premulkey.c
index bf934fcd0f7723a175ab0da279d4760df3953331..3d8b0108bbb1a1cae8b9832f8b239239b3860522 100644 (file)
@@ -46,17 +46,17 @@ static bNodeSocketTemplate cmp_node_premulkey_out[]= {
 
 static void node_composit_exec_premulkey(void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
 {
-       if(out[0]->hasoutput==0)
+       if (out[0]->hasoutput==0)
                return;
        
-       if(in[0]->data) {
+       if (in[0]->data) {
                CompBuf *stackbuf, *cbuf= typecheck_compbuf(in[0]->data, CB_RGBA);
 
                stackbuf= dupalloc_compbuf(cbuf);
                premul_compbuf(stackbuf, node->custom1 == 1);
 
                out[0]->data = stackbuf;
-               if(cbuf != in[0]->data)
+               if (cbuf != in[0]->data)
                        free_compbuf(cbuf);
        }
 }