From 17de7acd7b19e94dcc0819d9eafe5a47903766cc Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Sat, 13 Feb 2010 22:17:17 +0000 Subject: Fix a crash in previous commit svn-id: r48054 --- engines/gob/resources.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/gob/resources.cpp b/engines/gob/resources.cpp index ee36a1f7ce..055676e6b9 100644 --- a/engines/gob/resources.cpp +++ b/engines/gob/resources.cpp @@ -576,7 +576,7 @@ TextItem *Resources::getTextItem(uint16 id) const { // HACK: Some Fascination versions (Amiga, Atari and first PC floppies) have a different header, which is a problem here. // TODO: Handle that in a proper way if ((_vm->getGameType() == kGameTypeFascination) & (_totTextTable->size < 0)) - warning("totTextTable with negative size id:%d offset:%d in file %s : (size: %d)", id, totItem.offset, totItem.size, _totFile.c_str(), _totTextTable->size); + warning("totTextTable with negative size id:%d offset:%d", id, totItem.offset, totItem.size); else return 0; } -- cgit v1.2.3