diff options
| author | Léo Lam <leo@leolam.fr> | 2020-11-21 00:29:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-21 00:29:43 +0100 |
| commit | fa73b1a23f9b0c5104909de410f9ae533cbf8af4 (patch) | |
| tree | f12ba1fc8fd213723191138bfdcc5fbfd5b2d5c8 /Source/Core/VideoCommon/ImageWrite.cpp | |
| parent | 33f15f22e21a808314d19f41290a73d2fb014ea7 (diff) | |
| parent | e4ceed2bed247c18e3c4d72eca24fa9f7ef64bb1 (diff) | |
Merge pull request #9269 from JosJuice/fmt-positional-checks
Common: Assert that translatable strings use positional arguments
Diffstat (limited to 'Source/Core/VideoCommon/ImageWrite.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/ImageWrite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/ImageWrite.cpp b/Source/Core/VideoCommon/ImageWrite.cpp index 1085e7df24..aa3bdbe7e9 100644 --- a/Source/Core/VideoCommon/ImageWrite.cpp +++ b/Source/Core/VideoCommon/ImageWrite.cpp @@ -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; } |
