[Scummvm-git-logs] scummvm master -> 5f9b39e55bd86a69fe273b46e5b09e236be57826

antoniou79 a.antoniou79 at gmail.com
Sat Aug 28 17:58:07 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5f9b39e55b ENGINES: Fix autosave overwrite message


Commit: 5f9b39e55bd86a69fe273b46e5b09e236be57826
    https://github.com/scummvm/scummvm/commit/5f9b39e55bd86a69fe273b46e5b09e236be57826
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2021-08-28T20:57:48+03:00

Commit Message:
ENGINES: Fix autosave overwrite message

The message is formatted as U32String, and the argument is U32String so %S should be used.

Changed paths:
    engines/engine.cpp


diff --git a/engines/engine.cpp b/engines/engine.cpp
index 89ef64c5db..6c82cea613 100644
--- a/engines/engine.cpp
+++ b/engines/engine.cpp
@@ -553,7 +553,7 @@ bool Engine::warnBeforeOverwritingAutosave() {
 	altButtons.push_back(_("Overwrite"));
 	altButtons.push_back(_("Cancel autosave"));
 	const Common::U32String message = Common::U32String::format(
-				_("WARNING: The autosave slot has a saved game named %s. "
+				_("WARNING: The autosave slot has a saved game named %S. "
 				  "You can either move the existing save to a new slot, "
 				  "Overwrite the existing save, "
 				  "or cancel autosave (will not prompt again until restart)"), desc.getDescription().c_str());




More information about the Scummvm-git-logs mailing list