diff options
Diffstat (limited to 'engines/cine/detection.cpp')
-rw-r--r-- | engines/cine/detection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cine/detection.cpp b/engines/cine/detection.cpp index 823b8e38b5..a3d36cfd97 100644 --- a/engines/cine/detection.cpp +++ b/engines/cine/detection.cpp @@ -184,7 +184,7 @@ void CineMetaEngine::removeSaveState(const char *target, int slot) const { // Set description for selected slot char slotName[20]; slotName[0] = 0; - strncpy(saveNames[slot], slotName, 20); + Common::strlcpy(saveNames[slot], slotName, 20); // Update savegame descriptions Common::String indexFile = Common::String::format("%s.dir", target); |