aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authoranotherguest2014-06-12 08:03:53 +0200
committeranotherguest2014-06-12 08:03:53 +0200
commit46f30804d87cf5684c932477226c26754d671a1f (patch)
treea3110188237545fb523dad484992a8b09b96f6bf /engines
parent237bc4cc21d525c97cb2ffdbd2194f839856a4b3 (diff)
parent263cc2873ba25ef896dc67aa7db574ee1f9c80b0 (diff)
downloadscummvm-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.cpp4
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) {