PRIVATE: missing snprinft

This commit is contained in:
neuromancer 2021-02-13 14:04:57 -03:00 committed by Eugene Sandulenko
parent d65b334586
commit cbc8ca60f4

View file

@ -180,7 +180,7 @@ void BustMovie(ArgArray args) {
assert(videoIndex <= 5); assert(videoIndex <= 5);
char f[32]; char f[32];
sprintf(f, "po/animatio/spoc%02dxs.smk", kPoliceBustVideos[videoIndex]); snprintf(f, 32, "po/animatio/spoc%02dxs.smk", kPoliceBustVideos[videoIndex]);
if (kPoliceBustVideos[videoIndex] == 2) { if (kPoliceBustVideos[videoIndex] == 2) {
Common::String *s = new Common::String("global/transiti/audio/spoc02VO.wav"); Common::String *s = new Common::String("global/transiti/audio/spoc02VO.wav");