[Scummvm-git-logs] scummvm branch-2-7 -> 8601f3c0e5a41ee193ac75f8a4ff697f2f9fcf7d

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:
8601f3c0e5 ANDROID: Fix missing format call


Commit: 8601f3c0e5a41ee193ac75f8a4ff697f2f9fcf7d
    https://github.com/scummvm/scummvm/commit/8601f3c0e5a41ee193ac75f8a4ff697f2f9fcf7d
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2023-03-04T11:21:58+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