diff options
author | Max Horn | 2005-05-08 21:49:52 +0000 |
---|---|---|
committer | Max Horn | 2005-05-08 21:49:52 +0000 |
commit | cca744f69a9eb079a314c8f39af1faa4e7b1e5a6 (patch) | |
tree | 1eb00deac3941d844ce98abc10eb4339955ef61d /gui/newgui.cpp | |
parent | 013e30eb389c40eb579cc8e3f05b8e8da80925ca (diff) | |
download | scummvm-rg350-cca744f69a9eb079a314c8f39af1faa4e7b1e5a6.tar.gz scummvm-rg350-cca744f69a9eb079a314c8f39af1faa4e7b1e5a6.tar.bz2 scummvm-rg350-cca744f69a9eb079a314c8f39af1faa4e7b1e5a6.zip |
Comply to our coding conventions
svn-id: r17975
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r-- | gui/newgui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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) |