diff options
author | Jordi Vilalta Prat | 2011-01-11 03:03:40 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2011-01-11 03:03:40 +0000 |
commit | dd47d644d37982b6539fca3e0de68eba64a6b213 (patch) | |
tree | 281b9133721539038d57c0da24b61473bd7a2751 /common | |
parent | 71c7ae9fbb981883095d1b1c02d199484cb78b9d (diff) | |
download | scummvm-rg350-dd47d644d37982b6539fca3e0de68eba64a6b213.tar.gz scummvm-rg350-dd47d644d37982b6539fca3e0de68eba64a6b213.tar.bz2 scummvm-rg350-dd47d644d37982b6539fca3e0de68eba64a6b213.zip |
COMMON: Fix a few space formatting issues.
svn-id: r55200
Diffstat (limited to 'common')
-rw-r--r-- | common/macresman.cpp | 2 | ||||
-rw-r--r-- | common/textconsole.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/common/macresman.cpp b/common/macresman.cpp index d2fe3063c6..fc4e0a55f5 100644 --- a/common/macresman.cpp +++ b/common/macresman.cpp @@ -368,7 +368,7 @@ MacResIDArray MacResManager::getResIDArray(uint32 typeID) { MacResIDArray res; for (int i = 0; i < _resMap.numTypes; i++) - if (_resTypes[i].id == typeID) { + if (_resTypes[i].id == typeID) { typeNum = i; break; } diff --git a/common/textconsole.cpp b/common/textconsole.cpp index 4602b3be8d..9c72699914 100644 --- a/common/textconsole.cpp +++ b/common/textconsole.cpp @@ -81,9 +81,9 @@ void NORETURN_PRE error(const char *s, ...) { strncpy(buf_output, buf_input, STRINGBUFLEN); } - buf_output[STRINGBUFLEN-3] = '\0'; - buf_output[STRINGBUFLEN-2] = '\0'; - buf_output[STRINGBUFLEN-1] = '\0'; + buf_output[STRINGBUFLEN - 3] = '\0'; + buf_output[STRINGBUFLEN - 2] = '\0'; + buf_output[STRINGBUFLEN - 1] = '\0'; strcat(buf_output, "!\n"); if (g_system) |