From bd63ee2c4e6b5352cd28fa06f73135f0c9c5eb96 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 9 Jun 2014 22:48:34 +0300 Subject: [PATCH] FULLPIPE: Fix compilation --- engines/fullpipe/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp index b7641d53278..53ed52a44b7 100644 --- a/engines/fullpipe/sound.cpp +++ b/engines/fullpipe/sound.cpp @@ -432,7 +432,7 @@ void FullpipeEngine::playTrack(GameVar *sceneVar, const char *name, bool delayed while (sub) { if (_musicAllowed & sub->_value.intValue) { - strcpy(_sceneTracks[_numSceneTracks], sub->_varName, 260); + strncpy(_sceneTracks[_numSceneTracks], sub->_varName, 260); _numSceneTracks++; }