aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-24 15:17:42 +0000
committerJohannes Schickel2009-05-24 15:17:42 +0000
commitb3c6751b9b7fc1401fd5e87a034cdaec92b67b20 (patch)
treeaa00dba58fb88ea2e095b886963370c7290c692b /engines/scumm
parent7c1eb057146af11793c627327f3fefe309d27fbb (diff)
downloadscummvm-rg350-b3c6751b9b7fc1401fd5e87a034cdaec92b67b20.tar.gz
scummvm-rg350-b3c6751b9b7fc1401fd5e87a034cdaec92b67b20.tar.bz2
scummvm-rg350-b3c6751b9b7fc1401fd5e87a034cdaec92b67b20.zip
Strip trailing whitespaces in the whole code base.
svn-id: r40867
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/debugger.cpp2
-rw-r--r--engines/scumm/input.cpp4
-rw-r--r--engines/scumm/palette.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/debugger.cpp b/engines/scumm/debugger.cpp
index 297d0a0d12..63feeb9385 100644
--- a/engines/scumm/debugger.cpp
+++ b/engines/scumm/debugger.cpp
@@ -522,7 +522,7 @@ bool ScummDebugger::Cmd_Debug(int argc, const char **argv) {
} else if (argv[1][0] == '-') {
result = Common::disableDebugChannel(argv[1] + 1);
}
-
+
if (result) {
DebugPrintf("%s %s\n", (argv[1][0] == '+') ? "Enabled" : "Disabled", argv[1] + 1);
} else {
diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp
index d886ec4af3..f378f2225e 100644
--- a/engines/scumm/input.cpp
+++ b/engines/scumm/input.cpp
@@ -440,9 +440,9 @@ void ScummEngine_v3::processKeyboard(Common::KeyState lastKeyHit) {
// SCUMM var 244 is the episode score
// and var 245 is the series score
char text[50];
-
+
updateIQPoints();
-
+
sprintf(text, "IQ Points: Episode = %d, Series = %d", _scummVars[244], _scummVars[245]);
Indy3IQPointsDialog indy3IQPointsDialog(this, text);
runDialog(indy3IQPointsDialog);
diff --git a/engines/scumm/palette.cpp b/engines/scumm/palette.cpp
index c5b7effd6a..a2cd4a0d4d 100644
--- a/engines/scumm/palette.cpp
+++ b/engines/scumm/palette.cpp
@@ -829,7 +829,7 @@ int ScummEngine::remapPaletteColor(int r, int g, int b, int threshold) {
uint sum, bestsum, bestitem = 0;
int startColor = (_game.version == 8) ? 24 : 1;
-
+
if (_game.heversion >= 99)
pal = _hePalettes + 1024 + startColor * 3;
else