From 8ba75fc522f16844524dd4d6f88c3851e2402969 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 30 Sep 2009 16:16:53 +0000 Subject: Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things) svn-id: r44495 --- graphics/VectorRendererSpec.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'graphics/VectorRendererSpec.cpp') diff --git a/graphics/VectorRendererSpec.cpp b/graphics/VectorRendererSpec.cpp index a575ee8b94..bb52874230 100644 --- a/graphics/VectorRendererSpec.cpp +++ b/graphics/VectorRendererSpec.cpp @@ -700,7 +700,7 @@ drawTriangle(int x, int y, int w, int h, TriangleOrientation orient) { int newW = w / 2; if (newW % 2) newW++; - switch(orient) { + switch (orient) { case kTriangleUp: case kTriangleDown: drawTriangleFast(x + (newW / 2), y + (h / 2) - (newW / 2), newW, (orient == kTriangleDown), color, Base::_fillMode); @@ -1028,7 +1028,7 @@ drawTriangleVertAlg(int x1, int y1, int w, int h, bool inverted, PixelType color int dysub = ddy - (dx * 2); int error_term = ddy - dx; - switch(fill_m) { + switch (fill_m) { case kFillDisabled: while (dx--) { __TRIANGLE_MAINX(); @@ -1060,7 +1060,7 @@ drawTriangleVertAlg(int x1, int y1, int w, int h, bool inverted, PixelType color int dxsub = ddx - (dy * 2); int error_term = ddx - dy; - switch(fill_m) { + switch (fill_m) { case kFillDisabled: while (dy--) { __TRIANGLE_MAINY(); -- cgit v1.2.3