Fix translatable strings which contain non-positional arguments

This commit is contained in:
JosJuice 2020-11-20 19:53:53 +01:00
parent 17da28ff07
commit e63b00e562
5 changed files with 5 additions and 5 deletions

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;
}