aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/words.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2016-02-02 18:43:36 +0100
committerJohannes Schickel2016-02-02 20:15:18 +0100
commit6778175f6d2ba33565b15d3b94c8eea4b0ec3215 (patch)
tree9bd26262ae254315531c61cb055e0a238b79cfa1 /engines/agi/words.cpp
parent9ad3712aa30944fa3bdc5e03eb87499daf626592 (diff)
downloadscummvm-rg350-6778175f6d2ba33565b15d3b94c8eea4b0ec3215.tar.gz
scummvm-rg350-6778175f6d2ba33565b15d3b94c8eea4b0ec3215.tar.bz2
scummvm-rg350-6778175f6d2ba33565b15d3b94c8eea4b0ec3215.zip
AGI: Fix formatting.
This mostly enforces tabs for indentation and spaces for formatting. But also fixes spaces on empty lines, some extra/missing spaces. astyle + manual fixup
Diffstat (limited to 'engines/agi/words.cpp')
-rw-r--r--engines/agi/words.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/words.cpp b/engines/agi/words.cpp
index 0b8a4f3809..32fa4cbff4 100644
--- a/engines/agi/words.cpp
+++ b/engines/agi/words.cpp
@@ -61,11 +61,11 @@ int Words::loadDictionary_v1(Common::File &f) {
newWord->word = Common::String(str, k + 1); // myStrndup(str, k + 1);
newWord->id = f.readUint16LE();
-
+
_dictionaryWords[firstCharNr].push_back(newWord);
debug(3, "'%s' (%d)", newWord->word.c_str(), newWord->id);
}
- } while((uint8)str[0] != 0xFF);
+ } while ((uint8)str[0] != 0xFF);
return errOK;
}