From cca744f69a9eb079a314c8f39af1faa4e7b1e5a6 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 8 May 2005 21:49:52 +0000 Subject: Comply to our coding conventions svn-id: r17975 --- gui/newgui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gui/newgui.cpp') diff --git a/gui/newgui.cpp b/gui/newgui.cpp index b46039a1fd..7267f65e29 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -75,7 +75,7 @@ void NewGui::updateColors() { } void NewGui::updateScaleFactor() { - if(!_scaleEnable) { + if (!_scaleEnable) { _scaleFactor = 1; } else { enum { @@ -477,9 +477,9 @@ void NewGui::drawBitmap(uint32 *bitmap, int tx, int ty, OverlayColor color, int if (ty + y < 0 || ty + y >= _screen.h) continue; for (int x = 0; x < 8 * _scaleFactor; x++) { - if(!(x % 2) && _scaleFactor != 1 && x != 0) + if (!(x % 2) && _scaleFactor != 1 && x != 0) mask >>= 4; - else if(_scaleFactor == 1) + else if (_scaleFactor == 1) mask >>= 4; if (tx + x < 0 || tx + x >= _screen.w) -- cgit v1.2.3