ENGINES: Don't use unsafe strcat and strcpy

This commit is contained in:
Le Philousophe 2022-09-24 10:03:46 +02:00 committed by Eugene Sandulenko
parent 3aa220fdb4
commit 7948a2820f

View file

@ -193,7 +193,7 @@ void MetaEngine::appendExtendedSaveToStream(Common::WriteStream *saveFile, uint3
uint headerPos = saveFile->pos() + posoffset;
strcpy(header.id, "SVMCR");
Common::strcpy_s(header.id, "SVMCR");
header.version = EXTENDED_SAVE_VERSION;
TimeDate curTime;