diff options
| author | Johannes Schickel | 2009-07-16 11:41:45 +0000 | 
|---|---|---|
| committer | Johannes Schickel | 2009-07-16 11:41:45 +0000 | 
| commit | 16c949d24ae9674158b782c483408be6953cc750 (patch) | |
| tree | d8554a26bb9ec1363ab24faff464f678165ac897 | |
| parent | 40d8209bca78b548e41f5895da7febe61152b92c (diff) | |
| download | scummvm-rg350-16c949d24ae9674158b782c483408be6953cc750.tar.gz scummvm-rg350-16c949d24ae9674158b782c483408be6953cc750.tar.bz2 scummvm-rg350-16c949d24ae9674158b782c483408be6953cc750.zip  | |
Formatting.
svn-id: r42530
| -rw-r--r-- | graphics/VectorRendererSpec.cpp | 7 | 
1 files 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<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) @@ -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);  | 
