SLUDGE: Don't use unsafe sprintf and vsprintf

This commit is contained in:
Le Philousophe 2022-10-23 15:27:32 +02:00 committed by Eugene Sandulenko
parent 3fa310340e
commit 95d5bafb57

View File

@ -286,7 +286,7 @@ bool EventManager::handleInput() {
default:
if (_input.keyPressed >= 256) {
char tmp[7] = "ABCDEF";
sprintf(tmp, "%i", _input.keyPressed);
Common::sprintf_s(tmp, "%i", _input.keyPressed);
tempString = tmp;
//}
} else {