diff options
author | Johannes Schickel | 2008-11-16 20:20:31 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-11-16 20:20:31 +0000 |
commit | 2ef8a32a0119f93483e2b58c9bd1f2f42851f9ea (patch) | |
tree | 5acce47983e5ef5210696de8731999a016b160dd /engines/saga/rscfile.cpp | |
parent | e1fdb1f882c7937d34e99dbfeeb3154846eee565 (diff) | |
download | scummvm-rg350-2ef8a32a0119f93483e2b58c9bd1f2f42851f9ea.tar.gz scummvm-rg350-2ef8a32a0119f93483e2b58c9bd1f2f42851f9ea.tar.bz2 scummvm-rg350-2ef8a32a0119f93483e2b58c9bd1f2f42851f9ea.zip |
Fixed various g++ warnings ("format not a string literal and no format arguments").
svn-id: r35096
Diffstat (limited to 'engines/saga/rscfile.cpp')
-rw-r--r-- | engines/saga/rscfile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/saga/rscfile.cpp b/engines/saga/rscfile.cpp index cd4dbdd0a9..41fe510906 100644 --- a/engines/saga/rscfile.cpp +++ b/engines/saga/rscfile.cpp @@ -408,7 +408,7 @@ bool Resource::createContexts() { if (Common::File::exists(curSoundfiles[i].fileName)) { _contextsCount++; soundFileIndex = _contextsCount - 1; - sprintf(soundFileName, curSoundfiles[i].fileName); + strcpy(soundFileName, curSoundfiles[i].fileName); _vm->_gf_compressed_sounds = curSoundfiles[i].isCompressed; fileFound = true; break; @@ -452,7 +452,7 @@ bool Resource::createContexts() { if (Common::File::exists(curSoundfiles[i].fileName)) { _contextsCount++; voicesFileIndex = _contextsCount - 1; - sprintf(_voicesFileName[0], curSoundfiles[i].fileName); + strcpy(_voicesFileName[0], curSoundfiles[i].fileName); _vm->_gf_compressed_sounds = curSoundfiles[i].isCompressed; fileFound = true; @@ -519,7 +519,7 @@ bool Resource::createContexts() { _contextsCount++; digitalMusic = true; fileFound = true; - sprintf(musicFileName, musicFilesITE[i].fileName); + strcpy(musicFileName, musicFilesITE[i].fileName); break; } } |