diff options
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/charset-fontdata.cpp | 4 | ||||
-rw-r--r-- | engines/agos/string.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/agos/charset-fontdata.cpp b/engines/agos/charset-fontdata.cpp index b7f9af427e..9ae32a34f4 100644 --- a/engines/agos/charset-fontdata.cpp +++ b/engines/agos/charset-fontdata.cpp @@ -1922,7 +1922,7 @@ void AGOSEngine::windowDrawChar(WindowBlock *window, uint x, uint y, byte chr) { src = english_simonFont + (chr - 32) * 8; break; default: - error("windowDrawChar: Unknown language %d\n", _language); + error("windowDrawChar: Unknown language %d", _language); } } else if (getGameType() == GType_ELVIRA2 || getGameType() == GType_WW) { dst = (byte *)screen->pixels + y * _dxSurfacePitch + x + window->textColumnOffset; @@ -1946,7 +1946,7 @@ void AGOSEngine::windowDrawChar(WindowBlock *window, uint x, uint y, byte chr) { src = english_waxworksFont + (chr - 32) * 8; break; default: - error("windowDrawChar: Unknown language %d\n", _language); + error("windowDrawChar: Unknown language %d", _language); } } else if (getGameType() == GType_ELVIRA1) { dst = (byte *)screen->pixels + y * _dxSurfacePitch + x + window->textColumnOffset; diff --git a/engines/agos/string.cpp b/engines/agos/string.cpp index 4a88e3aad1..aa34d7a163 100644 --- a/engines/agos/string.cpp +++ b/engines/agos/string.cpp @@ -939,7 +939,7 @@ char *AGOSEngine_PN::unctok(char *c, int n) { void AGOSEngine_PN::uncomstr(char *c, uint32 x) { if (x > _textBaseSize) - error("UNCOMSTR: TBASE over-run\n"); + error("UNCOMSTR: TBASE over-run"); while (_textBase[x]) { if (_textBase[x] < 244) { c = unctok(c, _textBase[x]); @@ -1070,7 +1070,7 @@ void AGOSEngine_PN::pobjd(int n, int m) { void AGOSEngine_PN::ptext(uint32 tptr) { if (tptr > _textBaseSize) - error("ptext: attempt to print beyond end of TBASE\n"); + error("ptext: attempt to print beyond end of TBASE"); while (_textBase[tptr]) { if (_textBase[tptr] < 244) { |