[Scummvm-cvs-logs] SF.net SVN: scummvm:[42530] scummvm/trunk/graphics/VectorRendererSpec.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu Jul 16 13:41:45 CEST 2009


Revision: 42530
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42530&view=rev
Author:   lordhoto
Date:     2009-07-16 11:41:45 +0000 (Thu, 16 Jul 2009)

Log Message:
-----------
Formatting.

Modified Paths:
--------------
    scummvm/trunk/graphics/VectorRendererSpec.cpp

Modified: scummvm/trunk/graphics/VectorRendererSpec.cpp
===================================================================
--- scummvm/trunk/graphics/VectorRendererSpec.cpp	2009-07-16 11:37:36 UTC (rev 42529)
+++ scummvm/trunk/graphics/VectorRendererSpec.cpp	2009-07-16 11:41:45 UTC (rev 42530)
@@ -596,9 +596,8 @@
 template<typename PixelType>
 void VectorRendererSpec<PixelType>::
 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)
 		return;
@@ -927,8 +926,8 @@
 	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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list