diff options
Diffstat (limited to 'engines/sky')
-rw-r--r-- | engines/sky/text.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sky/text.cpp b/engines/sky/text.cpp index 64a72a53aa..820f1827c2 100644 --- a/engines/sky/text.cpp +++ b/engines/sky/text.cpp @@ -339,6 +339,7 @@ DisplayedText Text::displayText(char *textPtr, uint8 *dest, bool centre, uint16 } while (textChar >= 10); DisplayedText ret; + memset(&ret, 0, sizeof(ret)); ret.textData = dest; ret.textWidth = dtLastWidth; return ret; |