aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock')
-rw-r--r--engines/sherlock/saveload.cpp2
-rw-r--r--engines/sherlock/saveload.h4
-rw-r--r--engines/sherlock/user_interface.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/engines/sherlock/saveload.cpp b/engines/sherlock/saveload.cpp
index 5033a3b16d..3c8f3e4f60 100644
--- a/engines/sherlock/saveload.cpp
+++ b/engines/sherlock/saveload.cpp
@@ -386,7 +386,7 @@ bool SaveManager::checkGameOnScreen(int slot) {
return false;
}
-bool SaveManager::promptForFilename(int slot) {
+bool SaveManager::promptForDescription(int slot) {
Events &events = *_vm->_events;
Scene &scene = *_vm->_scene;
Screen &screen = *_vm->_screen;
diff --git a/engines/sherlock/saveload.h b/engines/sherlock/saveload.h
index 07626a2082..a86d5be035 100644
--- a/engines/sherlock/saveload.h
+++ b/engines/sherlock/saveload.h
@@ -131,9 +131,9 @@ public:
bool checkGameOnScreen(int slot);
/**
- * Prompts the user to enter a filename in a given slot
+ * Prompts the user to enter a description in a given slot
*/
- bool promptForFilename(int slot);
+ bool promptForDescription(int slot);
};
} // End of namespace Sherlock
diff --git a/engines/sherlock/user_interface.cpp b/engines/sherlock/user_interface.cpp
index d36be4ed76..7ac44ee99e 100644
--- a/engines/sherlock/user_interface.cpp
+++ b/engines/sherlock/user_interface.cpp
@@ -783,7 +783,7 @@ void UserInterface::doEnvControl() {
if (saves.checkGameOnScreen(_selector))
_oldSelector = _selector;
- if (saves.promptForFilename(_selector)) {
+ if (saves.promptForDescription(_selector)) {
saves.saveGame(_selector + 1, saves._savegames[_selector]);
banishWindow(1);
@@ -954,7 +954,7 @@ void UserInterface::doEnvControl() {
if (saves.checkGameOnScreen(_selector))
_oldSelector = _selector;
- if (saves.promptForFilename(_selector)) {
+ if (saves.promptForDescription(_selector)) {
saves.saveGame(_selector + 1, saves._savegames[_selector]);
banishWindow();
_windowBounds.top = CONTROLS_Y1;