From eb475025b85686f4793bb83bac377033c17fbd2d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 28 May 2019 17:45:36 -0400 Subject: Common/FileUtil: Make WriteStringToFile consistent with ReadFileToString Makes the parameter ordering consistent and less error-prone. --- Source/Core/UICommon/GameFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/UICommon/GameFile.cpp') diff --git a/Source/Core/UICommon/GameFile.cpp b/Source/Core/UICommon/GameFile.cpp index 4e5ad6f9c2..fb8c3d0a67 100644 --- a/Source/Core/UICommon/GameFile.cpp +++ b/Source/Core/UICommon/GameFile.cpp @@ -265,7 +265,7 @@ void GameFile::DownloadDefaultCover() if (!response) return; - File::WriteStringToFile(std::string(response->begin(), response->end()), png_path); + File::WriteStringToFile(png_path, std::string(response->begin(), response->end())); } bool GameFile::DefaultCoverChanged() -- cgit v1.2.3