diff options
author | Max Horn | 2006-03-04 12:34:14 +0000 |
---|---|---|
committer | Max Horn | 2006-03-04 12:34:14 +0000 |
commit | feeaa2c35ed9b85355cee5be665e566832293014 (patch) | |
tree | 6c1a68a14249e79f3af8d0a51a97d0aa2dc87653 /engines | |
parent | bc735c4595169a574383ffa1de3cd72a72c886c9 (diff) | |
download | scummvm-rg350-feeaa2c35ed9b85355cee5be665e566832293014.tar.gz scummvm-rg350-feeaa2c35ed9b85355cee5be665e566832293014.tar.bz2 scummvm-rg350-feeaa2c35ed9b85355cee5be665e566832293014.zip |
Removed unnecessary strcpy calls
svn-id: r21071
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/sound.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/scumm/sound.cpp b/engines/scumm/sound.cpp index 9bf8fefcd8..823156c32a 100644 --- a/engines/scumm/sound.cpp +++ b/engines/scumm/sound.cpp @@ -1009,10 +1009,7 @@ ScummFile *Sound::openSfxFile() { basename[1] = "monster"; if (_vm->_substResFileName.almostGameID != 0) { - - strcpy(buf, basename[0]); - _vm->generateSubstResFileName(buf, buf1, sizeof(buf1)); - strcpy(buf, buf1); + _vm->generateSubstResFileName(basename[0], buf1, sizeof(buf1)); basename[2] = buf1; } |