aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
diff options
context:
space:
mode:
authorMax Horn2009-05-19 00:02:10 +0000
committerMax Horn2009-05-19 00:02:10 +0000
commit8add60bf8c3a524ba8bd1354ed31de6315c4dbc6 (patch)
tree87b87e7a11bd980577b994905407a22f07e9066e /engines/sci/gfx
parent62190b57d875a7bc302b7a7fad1393308971f4eb (diff)
downloadscummvm-rg350-8add60bf8c3a524ba8bd1354ed31de6315c4dbc6.tar.gz
scummvm-rg350-8add60bf8c3a524ba8bd1354ed31de6315c4dbc6.tar.bz2
scummvm-rg350-8add60bf8c3a524ba8bd1354ed31de6315c4dbc6.zip
SCI: Cleanup/paranoia checks
svn-id: r40711
Diffstat (limited to 'engines/sci/gfx')
-rw-r--r--engines/sci/gfx/font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/font.cpp b/engines/sci/gfx/font.cpp
index 4b29aeef3d..185e32c678 100644
--- a/engines/sci/gfx/font.cpp
+++ b/engines/sci/gfx/font.cpp
@@ -63,7 +63,7 @@ bool gfxr_font_calculate_size(Common::Array<TextFragment> &fragments, gfx_bitmap
while ((foo = *text++)) {
if (foo >= font->chars_nr) {
- GFXWARN("Invalid char 0x%02x (max. 0x%02x) encountered in text string '%s', font %04x\n",
+ error("Invalid char 0x%02x (max. 0x%02x) encountered in text string '%s', font %04x",
foo, font->chars_nr, text, font->ID);
if (font->chars_nr > ' ')
foo = ' ';