From b3c6751b9b7fc1401fd5e87a034cdaec92b67b20 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 24 May 2009 15:17:42 +0000 Subject: Strip trailing whitespaces in the whole code base. svn-id: r40867 --- engines/scumm/debugger.cpp | 2 +- engines/scumm/input.cpp | 4 ++-- engines/scumm/palette.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/scumm') 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 -- cgit v1.2.3