mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 06:41:51 +00:00
HOPKINS: Don't use unsafe sprintf and vsprintf
This commit is contained in:
parent
8055e2d14c
commit
714ebdd302
@ -923,7 +923,7 @@ void ComputerManager::getScoreName() {
|
||||
_score[scoreLine]._score = " ";
|
||||
|
||||
char score[16];
|
||||
sprintf(score, "%d", _breakoutScore);
|
||||
Common::sprintf_s(score, "%d", _breakoutScore);
|
||||
int scoreLen = 0;
|
||||
do {
|
||||
++scoreLen;
|
||||
|
Loading…
x
Reference in New Issue
Block a user