aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2005-05-08 21:49:52 +0000
committerMax Horn2005-05-08 21:49:52 +0000
commitcca744f69a9eb079a314c8f39af1faa4e7b1e5a6 (patch)
tree1eb00deac3941d844ce98abc10eb4339955ef61d /gui
parent013e30eb389c40eb579cc8e3f05b8e8da80925ca (diff)
downloadscummvm-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')
-rw-r--r--gui/ListWidget.cpp2
-rw-r--r--gui/newgui.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp
index a6cf672f6d..929a8a8319 100644
--- a/gui/ListWidget.cpp
+++ b/gui/ListWidget.cpp
@@ -381,7 +381,7 @@ void ListWidget::startEditMode() {
}
void ListWidget::endEditMode() {
- if(!_editMode)
+ if (!_editMode)
return;
// send a message that editing finished with a return/enter key press
_editMode = false;
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)