style cleanup
[blender.git] / intern / raskter / raskter.c
index e565348cc7953bf5c4a848bfffb361bd3753e8a7..2e57ef746c36c8d438144fc20af2f7c7fe2d81dd 100644 (file)
@@ -305,12 +305,13 @@ int rast_scan_fill(struct r_fill_context *ctx, struct poly_vert *verts, int num_
                        e_curr = e_curr->e_next;
                        mpxl = spxl + MIN2(e_curr->x, ctx->rb.sizex) - 1;
 
-                       if((y_curr >= 0) && (y_curr < ctx->rb.sizey)){
+                       if ((y_curr >= 0) && (y_curr < ctx->rb.sizey)) {
                                /* draw the pixels. */
-                               for (; cpxl <= mpxl; cpxl++){
-                                       if(*cpxl < 0.5f){
+                               for (; cpxl <= mpxl; cpxl++) {
+                                       if (*cpxl < 0.5f) {
                                                *cpxl = 1.0f;
-                                       }else{
+                                       }
+                                       else {
                                                *cpxl = 0.0f;
                                        }
                                }