From 8add60bf8c3a524ba8bd1354ed31de6315c4dbc6 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 19 May 2009 00:02:10 +0000 Subject: SCI: Cleanup/paranoia checks svn-id: r40711 --- engines/sci/gfx/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci/gfx') 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 &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 = ' '; -- cgit v1.2.3