diff options
author | anotherguest | 2014-06-12 08:03:53 +0200 |
---|---|---|
committer | anotherguest | 2014-06-12 08:03:53 +0200 |
commit | 46f30804d87cf5684c932477226c26754d671a1f (patch) | |
tree | a3110188237545fb523dad484992a8b09b96f6bf /engines | |
parent | 237bc4cc21d525c97cb2ffdbd2194f839856a4b3 (diff) | |
parent | 263cc2873ba25ef896dc67aa7db574ee1f9c80b0 (diff) | |
download | scummvm-rg350-46f30804d87cf5684c932477226c26754d671a1f.tar.gz scummvm-rg350-46f30804d87cf5684c932477226c26754d671a1f.tar.bz2 scummvm-rg350-46f30804d87cf5684c932477226c26754d671a1f.zip |
Merge branch 'master' of github.com:scummvm/scummvm
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp index 8e49954bc6..a4ca06f489 100644 --- a/engines/fullpipe/sound.cpp +++ b/engines/fullpipe/sound.cpp @@ -286,7 +286,7 @@ void FullpipeEngine::setSceneMusicParameters(GameVar *gvar) { if (seq) { _sceneTrackHasSequence = true; - strcpy(_trackName, seq->_value.stringValue); + Common::strlcpy(_trackName, seq->_value.stringValue, 2600); } if (_musicLocal) @@ -450,7 +450,7 @@ void FullpipeEngine::playTrack(GameVar *sceneVar, const char *name, bool delayed if (seq) { _sceneTrackHasSequence = true; - strcpy(_trackName, seq->_value.stringValue); + Common::strlcpy(_trackName, seq->_value.stringValue, 2600); } if (delayed) { |