mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 06:41:51 +00:00
SLUDGE: Don't use unsafe sprintf and vsprintf
This commit is contained in:
parent
3fa310340e
commit
95d5bafb57
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user