diff options
author | Eugene Sandulenko | 2014-06-09 22:48:34 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-06-09 22:48:34 +0300 |
commit | bd63ee2c4e6b5352cd28fa06f73135f0c9c5eb96 (patch) | |
tree | 8f5ded8f71b811949e27844e19f798adc839cefe /engines/fullpipe | |
parent | 729810bbc10d1078cfa14df32ceed1d35c1d42d4 (diff) | |
download | scummvm-rg350-bd63ee2c4e6b5352cd28fa06f73135f0c9c5eb96.tar.gz scummvm-rg350-bd63ee2c4e6b5352cd28fa06f73135f0c9c5eb96.tar.bz2 scummvm-rg350-bd63ee2c4e6b5352cd28fa06f73135f0c9c5eb96.zip |
FULLPIPE: Fix compilation
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp index b7641d5327..53ed52a44b 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++; } |