diff options
author | Adrian Frühwirth | 2018-03-28 21:40:10 +0200 |
---|---|---|
committer | Adrian Frühwirth | 2018-03-28 21:40:10 +0200 |
commit | 0bf68e95810f48588944310dd193b7ea01461fda (patch) | |
tree | 11e21bb374c675eb73b88d37af9c7f1bda8f6ea3 /engines/tucker/saveload.cpp | |
parent | 2b9aa962d91b0cc70b33218b73f7c70cdaf2037c (diff) | |
download | scummvm-rg350-0bf68e95810f48588944310dd193b7ea01461fda.tar.gz scummvm-rg350-0bf68e95810f48588944310dd193b7ea01461fda.tar.bz2 scummvm-rg350-0bf68e95810f48588944310dd193b7ea01461fda.zip |
TUCKER: Follow code formatting convention for switch statements
Diffstat (limited to 'engines/tucker/saveload.cpp')
-rw-r--r-- | engines/tucker/saveload.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/tucker/saveload.cpp b/engines/tucker/saveload.cpp index 7e78f24978..a56ced915e 100644 --- a/engines/tucker/saveload.cpp +++ b/engines/tucker/saveload.cpp @@ -109,18 +109,18 @@ Common::Error TuckerEngine::loadGameState(int slot) { if (savegameError) { switch (savegameError) { - case kSavegameInvalidTypeError: - warning("Invalid savegame '%s' (does not look like a ScummVM Tucker-engine savegame)", fileName.c_str()); - break; - - case kSavegameInvalidVersionError: - warning("Invalid savegame '%s' (expected savegame version v%i-v%i, got v%i)", - fileName.c_str(), kSavegameVersionMinimum, kSavegameVersionCurrent, header.version); - break; - - default: - warning("Failed to load savegame '%s'", fileName.c_str()); - break; + case kSavegameInvalidTypeError: + warning("Invalid savegame '%s' (does not look like a ScummVM Tucker-engine savegame)", fileName.c_str()); + break; + + case kSavegameInvalidVersionError: + warning("Invalid savegame '%s' (expected savegame version v%i-v%i, got v%i)", + fileName.c_str(), kSavegameVersionMinimum, kSavegameVersionCurrent, header.version); + break; + + default: + warning("Failed to load savegame '%s'", fileName.c_str()); + break; } delete file; |