diff options
author | Torbjörn Andersson | 2009-05-31 10:02:16 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2009-05-31 10:02:16 +0000 |
commit | 0999534749f6c4edb9e4d054b95f185b829adba3 (patch) | |
tree | 55744aee72afd7cc699213a88be65938e70fa0a0 /engines/scumm/string.cpp | |
parent | 3b311c65d0140e8bf727910d230ffd7a7f803761 (diff) | |
download | scummvm-rg350-0999534749f6c4edb9e4d054b95f185b829adba3.tar.gz scummvm-rg350-0999534749f6c4edb9e4d054b95f185b829adba3.tar.bz2 scummvm-rg350-0999534749f6c4edb9e4d054b95f185b829adba3.zip |
The error() and warning() functions add ! and newline automatically. (I didn't
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
Diffstat (limited to 'engines/scumm/string.cpp')
-rw-r--r-- | engines/scumm/string.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp index 2aaedf5667..77fad53425 100644 --- a/engines/scumm/string.cpp +++ b/engines/scumm/string.cpp @@ -1095,7 +1095,7 @@ int ScummEngine::convertMessageToString(const byte *msg, byte *dst, int dstSize) // Check for a buffer overflow if (dst >= end) - error("convertMessageToString: buffer overflow!"); + error("convertMessageToString: buffer overflow"); } *dst = 0; @@ -1144,7 +1144,7 @@ int ScummEngine_v72he::convertMessageToString(const byte *msg, byte *dst, int ds // Check for a buffer overflow if (dst >= end) - error("convertMessageToString: buffer overflow!"); + error("convertMessageToString: buffer overflow"); } *dst = 0; @@ -1362,7 +1362,7 @@ void ScummEngine_v7::loadLanguageBundle() { // That was another index entry _languageIndexSize++; } else { - error("Unknown language.bnd entry found: '%s'\n", ptr); + error("Unknown language.bnd entry found: '%s'", ptr); } // Skip over newlines (and turn them into null bytes) |