aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sky/text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/text.cpp b/sky/text.cpp
index 2db13aa624..54c2117246 100644
--- a/sky/text.cpp
+++ b/sky/text.cpp
@@ -253,7 +253,7 @@ displayText_t SkyText::displayText(char *textPtr, uint8 *dest, bool centre, uint
if (pixelWidth <= lineWidth) {
if (*(lastSpace-1) == 10)
- warning("line width exceeded!");
+ error("line width exceeded!");
*(lastSpace-1) = 10;
lineWidth = 0;