aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/text.cpp
diff options
context:
space:
mode:
authorThierry Crozat2011-10-23 14:07:30 +0100
committerThierry Crozat2011-10-23 14:07:30 +0100
commit52c42a13d29d246a5b3377099707146a4db4a205 (patch)
treefb57d8b5131b1bfb443c16d4770100545f1656aa /engines/cge/text.cpp
parentfad29236588528de3d6158f2ac80976d6195d8da (diff)
downloadscummvm-rg350-52c42a13d29d246a5b3377099707146a4db4a205.tar.gz
scummvm-rg350-52c42a13d29d246a5b3377099707146a4db4a205.tar.bz2
scummvm-rg350-52c42a13d29d246a5b3377099707146a4db4a205.zip
CGE: Remove end of line in error message.
This caused the punctuation mark to be displayed on the next line.
Diffstat (limited to 'engines/cge/text.cpp')
-rw-r--r--engines/cge/text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/text.cpp b/engines/cge/text.cpp
index 64f9959442..58acb5548c 100644
--- a/engines/cge/text.cpp
+++ b/engines/cge/text.cpp
@@ -38,7 +38,7 @@ namespace CGE {
Text::Text(CGEEngine *vm, const char *fname) : _vm(vm) {
_vm->mergeExt(_fileName, fname, kSayExt);
if (!_vm->_resman->exist(_fileName))
- error("No talk (%s)\n", _fileName);
+ error("No talk (%s)", _fileName);
int16 txtCount = count() + 1;
if (!txtCount)
error("Unable to read dialog file %s", _fileName);