diff options
Diffstat (limited to 'engines/sky/text.cpp')
-rw-r--r-- | engines/sky/text.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sky/text.cpp b/engines/sky/text.cpp index 820f1827c2..497c8a1ba3 100644 --- a/engines/sky/text.cpp +++ b/engines/sky/text.cpp @@ -279,7 +279,7 @@ DisplayedText Text::displayText(char *textPtr, uint8 *dest, bool centre, uint16 if (pixelWidth <= lineWidth) { if (*(lastSpace-1) == 10) - error("line width exceeded!"); + error("line width exceeded"); *(lastSpace-1) = 10; lineWidth = 0; @@ -296,7 +296,7 @@ DisplayedText Text::displayText(char *textPtr, uint8 *dest, bool centre, uint16 numLines++; if (numLines > MAX_NO_LINES) - error("Maximum no. of lines exceeded!"); + error("Maximum no. of lines exceeded"); uint32 dtLineSize = pixelWidth * _charHeight; uint32 numBytes = (dtLineSize * numLines) + sizeof(DataFileHeader) + 4; |