diff options
author | Strangerke | 2016-09-12 20:52:04 +0200 |
---|---|---|
committer | Strangerke | 2016-09-12 20:52:04 +0200 |
commit | 3be1c24af88db19eee5d76ae88d51aaefdc0ec13 (patch) | |
tree | 6cc09216ffbc8663bdcff2d11ecfc3485f377b7d /engines/dm/text.cpp | |
parent | c4e362bf04caed73e06e964b4faa1715dd235a6d (diff) | |
download | scummvm-rg350-3be1c24af88db19eee5d76ae88d51aaefdc0ec13.tar.gz scummvm-rg350-3be1c24af88db19eee5d76ae88d51aaefdc0ec13.tar.bz2 scummvm-rg350-3be1c24af88db19eee5d76ae88d51aaefdc0ec13.zip |
DM: Fix a couple of string manipulations into fix-sized buffer
Diffstat (limited to 'engines/dm/text.cpp')
-rw-r--r-- | engines/dm/text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dm/text.cpp b/engines/dm/text.cpp index b92b43477d..dcf7e27a8e 100644 --- a/engines/dm/text.cpp +++ b/engines/dm/text.cpp @@ -205,7 +205,7 @@ void TextMan::clearExpiredRows() { } } -void TextMan::printEndGameString(int16 x, int16 y, Color textColor, char* text) { +void TextMan::printEndGameString(int16 x, int16 y, Color textColor, const char* text) { char modifiedString[50]; char *wrkStringPtr = modifiedString; |