Fix translatable strings which contain non-positional arguments

This commit is contained in:
JosJuice committed 2020-11-20 20:24:30 +01:00
1 parent 17da28ff07
commit e63b00e562
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ bool TextureToPng(const u8* data, int row_stride, const std::string& filename, i
File::IOFile fp(filename, "wb");
if (!fp.IsOpen())
{
PanicAlertFmtT("Screenshot failed: Could not open file \"{}\" (error {})", filename, errno);
PanicAlertFmtT("Screenshot failed: Could not open file \"{0}\" (error {1})", filename, errno);
goto finalise;
}