diff options
author | Max Horn | 2009-09-30 16:16:53 +0000 |
---|---|---|
committer | Max Horn | 2009-09-30 16:16:53 +0000 |
commit | 8ba75fc522f16844524dd4d6f88c3851e2402969 (patch) | |
tree | df25c20389e3e706d508f37914dedc73c6479f00 /tools | |
parent | 25dde91c7c6c7da52636e3daa34bd9eee5d9dcb9 (diff) | |
download | scummvm-rg350-8ba75fc522f16844524dd4d6f88c3851e2402969.tar.gz scummvm-rg350-8ba75fc522f16844524dd4d6f88c3851e2402969.tar.bz2 scummvm-rg350-8ba75fc522f16844524dd4d6f88c3851e2402969.zip |
Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
Diffstat (limited to 'tools')
-rw-r--r-- | tools/create_lure/process_actions.cpp | 2 | ||||
-rw-r--r-- | tools/qtable/qtable.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/create_lure/process_actions.cpp b/tools/create_lure/process_actions.cpp index 81db0de022..7ea45d8681 100644 --- a/tools/create_lure/process_actions.cpp +++ b/tools/create_lure/process_actions.cpp @@ -221,7 +221,7 @@ uint16 process_action_sequence_entry(int supportIndex, byte *data, uint16 remain for (int paramCtr = 0; paramCtr < numParams[actionNum]; ++paramCtr) params[paramCtr] = lureExe.readWord(); - switch(actionNum) { + switch (actionNum) { case NPC_SET_ROOM_AND_BLOCKED_OFFSET: case NPC_SET_SUPPORT_OFFSET: case NPC_SUPPORT_OFFSET_COND: diff --git a/tools/qtable/qtable.cpp b/tools/qtable/qtable.cpp index fe4eb07809..a659698688 100644 --- a/tools/qtable/qtable.cpp +++ b/tools/qtable/qtable.cpp @@ -147,7 +147,7 @@ static void createTableFile(TableFile *tf) { writeUint32BE(out, CURRENT_VERSION); /* write tables */ offset = 4 + 4; - for(i = 0; i < tf->dataFileEntriesTableCount; ++i) { + for (i = 0; i < tf->dataFileEntriesTableCount; ++i) { const DataFileEntriesTable *dfet = &tf->dataFileEntriesTable[i]; /* write number of entries in table */ writeUint16BE(out, dfet->fileEntriesCount); |