From 16c949d24ae9674158b782c483408be6953cc750 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 16 Jul 2009 11:41:45 +0000 Subject: Formatting. svn-id: r42530 --- graphics/VectorRendererSpec.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/graphics/VectorRendererSpec.cpp b/graphics/VectorRendererSpec.cpp index f99e20ec26..4a7a301faf 100644 --- a/graphics/VectorRendererSpec.cpp +++ b/graphics/VectorRendererSpec.cpp @@ -596,8 +596,7 @@ drawSquare(int x, int y, int w, int h) { template void VectorRendererSpec:: drawRoundedSquare(int x, int y, int r, int w, int h) { - - x++; y++; w--; h--; + x++; y++; w--; h--; if (x + w > Base::_activeSurface->w || y + h > Base::_activeSurface->h || w <= 0 || h <= 0 || x < 0 || y < 0 || r <= 0) @@ -927,8 +926,8 @@ drawBevelSquareAlg(int x, int y, int w, int h, int bevel, PixelType top_color, P x = MAX(x - bevel, 0); y = MAX(y - bevel, 0); - w = w + (bevel * 2); - h = h + (bevel * 2); + w = w + (bevel * 2); + h = h + (bevel * 2); #endif PixelType *ptr_left = (PixelType *)_activeSurface->getBasePtr(x, y); -- cgit v1.2.3