aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb/debug.cpp
diff options
context:
space:
mode:
authorĽubomír Remák2018-08-04 16:57:41 +0200
committerEugene Sandulenko2018-08-25 23:12:01 +0200
commita25715a29b0587ae6795eef63a575172e2cb971d (patch)
treeb10acdeffd001f507209799498a6e9f90a585e06 /engines/mutationofjb/debug.cpp
parent6ff609c51478c07a00018e57d8149f09d97677e7 (diff)
downloadscummvm-rg350-a25715a29b0587ae6795eef63a575172e2cb971d.tar.gz
scummvm-rg350-a25715a29b0587ae6795eef63a575172e2cb971d.tar.bz2
scummvm-rg350-a25715a29b0587ae6795eef63a575172e2cb971d.zip
MUTATIONOFJB: Fix code formatting issues (with astyle).
Diffstat (limited to 'engines/mutationofjb/debug.cpp')
-rw-r--r--engines/mutationofjb/debug.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/mutationofjb/debug.cpp b/engines/mutationofjb/debug.cpp
index b4f00c9da3..f7b074a10b 100644
--- a/engines/mutationofjb/debug.cpp
+++ b/engines/mutationofjb/debug.cpp
@@ -42,7 +42,7 @@ static Common::String convertToASCII(const Common::String &str) {
static const char conversionTable[] = {
'C', 'u', 'e', 'd', 'a', 'D', 'T', 'c', 'e', 'E', 'L', 'I', 'l', 'l', 'A', 'A', /* 0x80-0x8F */
'E', 'z', 'Z', 'o', 'o', 'O', 'u', 'U', 'y', 'O', 'U', 'S', 'L', 'Y', 'R', 't', /* 0x90-0x9F */
- 'a', 'i', 'o', 'u', 'n', 'N', 'U', 'O', 's', 'r', 'r', 'R' /* 0xA0-0xAB */
+ 'a', 'i', 'o', 'u', 'n', 'N', 'U', 'O', 's', 'r', 'r', 'R' /* 0xA0-0xAB */
};
Common::String ret = str;
@@ -151,9 +151,9 @@ void Console::showCommands(Command *command, int indentLevel) {
debugPrintf("ELSE\n");
showCommands(condCmd->getFalseCommand(), indentLevel + 1);
command = nullptr;
- } else if (CallMacroCommand* const callMacroCmd = dynamic_cast<CallMacroCommand *>(command)) {
+ } else if (CallMacroCommand *const callMacroCmd = dynamic_cast<CallMacroCommand *>(command)) {
command = callMacroCmd->getReturnCommand();
- } else if (RandomCommand* const randomCmd = dynamic_cast<RandomCommand *>(command)) {
+ } else if (RandomCommand *const randomCmd = dynamic_cast<RandomCommand *>(command)) {
const RandomCommand::Choices &choices = randomCmd->getChoices();
for (RandomCommand::Choices::size_type i = 0; i < choices.size(); ++i) {
showIndent(indentLevel + 1);
@@ -450,7 +450,7 @@ Script *Console::getScriptFromArg(const char *arg) {
}
bool Console::cmd_listinventory(int, const char **) {
- Inventory &inventory =_vm->getGame().getGameData().getInventory();
+ Inventory &inventory = _vm->getGame().getGameData().getInventory();
const Inventory::Items &items = inventory.getItems();
for (Inventory::Items::const_iterator it = items.begin(); it != items.end(); ++it) {
debugPrintf("%s\n", convertToASCII(*it).c_str());