diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tucker/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tucker/resource.cpp b/engines/tucker/resource.cpp index af69651b9f..b9aa1117dc 100644 --- a/engines/tucker/resource.cpp +++ b/engines/tucker/resource.cpp @@ -279,7 +279,7 @@ Audio::RewindableAudioStream *CompressedSound::load(CompressedSoundType type, in void TuckerEngine::loadImage(const char *fname, uint8 *dst, int type) { char filename[80]; - strcpy(filename, fname); + Common::strlcpy(filename, fname, sizeof(filename)); Common::File f; if (!f.open(filename)) { |