[Scummvm-git-logs] scummvm branch-2-7-0-android -> 28efe36ead298a999ec5eadf0f5495cdd0405073

lephilousophe noreply at scummvm.org
Sat Mar 4 10:23:42 UTC 2023


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:
28efe36ead ANDROID: Fix missing format call


Commit: 28efe36ead298a999ec5eadf0f5495cdd0405073
    https://github.com/scummvm/scummvm/commit/28efe36ead298a999ec5eadf0f5495cdd0405073
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2023-03-04T11:22:13+01:00

Commit Message:
ANDROID: Fix missing format call

This was calling String(const char *beginP, const char *endP) instead of
formatting the string.

Changed paths:
    backends/platform/android/android.cpp


diff --git a/backends/platform/android/android.cpp b/backends/platform/android/android.cpp
index c1ad7d86018..09a6270c32f 100644
--- a/backends/platform/android/android.cpp
+++ b/backends/platform/android/android.cpp
@@ -149,7 +149,7 @@ public:
 		delete anode;
 
 		if (!ret) {
-			setError(Common::kUnknownError, Common::String("Couldn't delete the save file: %s", path.c_str()));
+			setError(Common::kUnknownError, Common::String::format("Couldn't delete the save file: %s", path.c_str()));
 		}
 		return ret;
 	}




More information about the Scummvm-git-logs mailing list