aboutsummaryrefslogtreecommitdiff
path: root/engines/tucker/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tucker/detection.cpp')
-rw-r--r--engines/tucker/detection.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/tucker/detection.cpp b/engines/tucker/detection.cpp
index 9b466d682d..31d9caef73 100644
--- a/engines/tucker/detection.cpp
+++ b/engines/tucker/detection.cpp
@@ -201,8 +201,7 @@ public:
}
for (int slot = 0; slot <= Tucker::kLastSaveSlot; ++slot) {
if (slotsTable[slot]) {
- char description[64];
- snprintf(description, sizeof(description), "savegm.%02d", slot);
+ Common::String description = Common::String::format("savegm.%02d", slot);
saveList.push_back(SaveStateDescriptor(slot, description));
}
}