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/tinsel/handle.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/tinsel/handle.cpp')
-rw-r--r-- | engines/tinsel/handle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tinsel/handle.cpp b/engines/tinsel/handle.cpp index 220bf57aca..9a0e1f37f8 100644 --- a/engines/tinsel/handle.cpp +++ b/engines/tinsel/handle.cpp @@ -299,7 +299,7 @@ void LoadFile(MEMHANDLE *pH, bool bWarn) { char szFilename[sizeof(pH->szName) + 1]; if (pH->filesize & fCompressed) { - error("Compression handling has been removed!"); + error("Compression handling has been removed"); } // extract and zero terminate the filename @@ -383,7 +383,7 @@ byte *LockMem(SCNHANDLE offset) { } else if (handle == cdPlayHandle) { // Must be in currently loaded/loadable range if (offset < cdBaseHandle || offset >= cdTopHandle) - error("Overlapping (in time) CD-plays!"); + error("Overlapping (in time) CD-plays"); if (pH->pNode->pBaseAddr && (pH->filesize & fLoaded)) // already allocated and loaded |