[Scummvm-cvs-logs] SF.net SVN: scummvm: [32092] scummvm/trunk/engines/kyra/screen.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Tue May 13 23:17:46 CEST 2008
Revision: 32092
http://scummvm.svn.sourceforge.net/scummvm/?rev=32092&view=rev
Author: lordhoto
Date: 2008-05-13 14:17:46 -0700 (Tue, 13 May 2008)
Log Message:
-----------
More descriptive error message when encountering invalid font data.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/screen.cpp
Modified: scummvm/trunk/engines/kyra/screen.cpp
===================================================================
--- scummvm/trunk/engines/kyra/screen.cpp 2008-05-13 19:53:14 UTC (rev 32091)
+++ scummvm/trunk/engines/kyra/screen.cpp 2008-05-13 21:17:46 UTC (rev 32092)
@@ -883,7 +883,7 @@
uint16 fontSig = READ_LE_UINT16(fontData + 2);
if (fontSig != 0x500)
- error("Invalid font data (file '%s')", filename);
+ error("Invalid font data (file '%s', fontSig: %.04X)", filename, fontSig);
fnt->charWidthTable = fontData + READ_LE_UINT16(fontData + 8);
fnt->charSizeOffset = READ_LE_UINT16(fontData + 4);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list