diff options
Diffstat (limited to 'engines/cine')
-rw-r--r-- | engines/cine/various.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp index 23f439a7a7..99d93cfc09 100644 --- a/engines/cine/various.cpp +++ b/engines/cine/various.cpp @@ -427,7 +427,7 @@ void CineEngine::makeSystemMenu() { if (!makeTextEntryMenu(otherMessages[6], saveName, 20, 120)) break; - strncpy(currentSaveName[selectedSave], saveName, 20); + Common::strlcpy(currentSaveName[selectedSave], saveName, 20); sprintf(saveFileName, "%s.%1d", _targetName.c_str(), selectedSave); |