From 260ad2d8f0cc34045efac97d7847c5bb39e35247 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 5 Sep 2021 18:39:53 +0200 Subject: [PATCH] (Windows) Fixed a compile error. --- es-app/src/SystemData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-app/src/SystemData.cpp b/es-app/src/SystemData.cpp index b91ed7e73..0c10905ee 100644 --- a/es-app/src/SystemData.cpp +++ b/es-app/src/SystemData.cpp @@ -738,7 +738,7 @@ bool SystemData::createSystemDirectories() pugi::xml_document doc; #if defined(_WIN64) pugi::xml_parse_result res = - doc.load_file(Utils::String::stringToWideString(configPath).c_str()); + doc.load_file(Utils::String::stringToWideString(configPaths.front()).c_str()); #else pugi::xml_parse_result res = doc.load_file(configPaths.front().c_str()); #endif