diff options
Diffstat (limited to 'engines/made')
-rw-r--r-- | engines/made/database.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/made/database.cpp b/engines/made/database.cpp index 2b87f97392..bf47164e8f 100644 --- a/engines/made/database.cpp +++ b/engines/made/database.cpp @@ -694,7 +694,7 @@ int16 GameDatabaseV3::savegame(const char *filename, const char *description, in warning("Can't create file '%s', game not saved", filename); return 6; } - strncpy(desc, description, 64); + Common::strlcpy(desc, description, 64); out->writeUint32BE(MKTAG('S','G','A','M')); out->writeUint32LE(size); out->writeUint16LE(version); |