code cleanup: use booleans and const's for operator vars.
[blender.git] / source / blender / compositor / operations / COM_RenderLayersBaseProg.cpp
index ad642795240a31e1f3901d98a167d1aac3b1a599..3421b0a2b344614ac9fca0d07317af962df67a32 100644 (file)
@@ -120,8 +120,8 @@ void RenderLayersBaseProg::executePixel(float output[4], float x, float y, Pixel
                /* see comment in executeRegion describing coordinate mapping,
                 * here it simply goes other way around
                 */
-               int full_width = rd->xsch * rd->size / 100;
-               int full_height =rd->ysch * rd->size / 100;
+               int full_width  = rd->xsch * rd->size / 100;
+               int full_height = rd->ysch * rd->size / 100;
 
                dx = rd->border.xmin * full_width - (full_width - this->getWidth()) / 2.0f;
                dy = rd->border.ymin * full_height - (full_height - this->getHeight()) / 2.0f;