diff options
author | D G Turner | 2019-09-14 00:26:47 +0100 |
---|---|---|
committer | D G Turner | 2019-09-14 00:26:47 +0100 |
commit | a7c881e56d97062e39482aeb357b8023c3b3de38 (patch) | |
tree | d518d388a19adfcfd029c206b106b6a4c2ef04f5 /engines/supernova/supernova2/state.cpp | |
parent | 117733ad0abd673261381dc72bb5415708be9290 (diff) | |
download | scummvm-rg350-a7c881e56d97062e39482aeb357b8023c3b3de38.tar.gz scummvm-rg350-a7c881e56d97062e39482aeb357b8023c3b3de38.tar.bz2 scummvm-rg350-a7c881e56d97062e39482aeb357b8023c3b3de38.zip |
SUPERNOVA: Replace String Copy With Safer ScummVM Common Version
Diffstat (limited to 'engines/supernova/supernova2/state.cpp')
-rw-r--r-- | engines/supernova/supernova2/state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/supernova2/state.cpp b/engines/supernova/supernova2/state.cpp index 8c94f1e518..28a2c0a710 100644 --- a/engines/supernova/supernova2/state.cpp +++ b/engines/supernova/supernova2/state.cpp @@ -1298,7 +1298,7 @@ void GameManager2::drawClock() { s[0] = time % 10 + 48; time /= 10; _vm->renderText(s, 293, 180, kColorWhite99); - strcpy(s, " 0:00"); + Common::strlcpy(s, " 0:00", sizeof(s)); s[4] = time % 10 + 48; time /= 10; s[3] = time % 10 + 48; |