diff options
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/lzw.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/agi/lzw.cpp b/engines/agi/lzw.cpp index 52bbd6cc00..31a095dc40 100644 --- a/engines/agi/lzw.cpp +++ b/engines/agi/lzw.cpp @@ -95,8 +95,7 @@ static uint8 *decodeString(uint8 *buffer, uint32 code) { *buffer++ = appendCharacter[code]; code = prefixCode[code]; if (i++ >= 4000) { - fprintf(stderr, "lzw: error in code expansion.\n"); - abort(); + error("lzw: error in code expansion."); } } *buffer = code; |