Skip to content

Commit

Permalink
Fix icon reading bug in GameInfoCache
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Jan 23, 2024
1 parent 2e16fd3 commit 77d52b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/GameInfoCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ static bool ReadFileToString(IFileSystem *fs, const char *filename, std::string

static bool ReadLocalFileToString(const Path &path, std::string *contents, std::mutex *mtx) {
std::string data;
if (!File::ReadFileToString(false, path, *contents)) {
if (!File::ReadFileToString(false, path, data)) {
return false;
}
if (mtx) {
Expand Down

0 comments on commit 77d52b8

Please sign in to comment.