PPSSPP UI: Implement password masking in popup text inputs

This commit is contained in:
Henrik Rydgård committed 2024-09-26 11:32:51 +02:00
1 parent f020d1d815
commit 1b158940ac
8 files changed
+27 -10

No files matched your search

+1 -1
View File
@@ -1546,7 +1546,7 @@ bool NativeSaveSecret(std::string_view nameOfSecret, std::string_view data) {
if (data.empty() && File::Exists(path)) {
return File::Delete(path);
} else if (!File::WriteDataToFile(false, data.data(), data.size(), path)) {
WARN_LOG(Log::System, "Failed to write secret '%s' to path '%s'", nameOfSecret, path.c_str());
WARN_LOG(Log::System, "Failed to write secret '%.*s' to path '%s'", (int)nameOfSecret.size(), nameOfSecret.data(), path.c_str());
return false;
}
return true;