(Windows) Fixed a compile error.

This commit is contained in:
Leon Styhre 2021-09-05 18:39:53 +02:00
parent 1dbdbe04e2
commit 260ad2d8f0

View file

@ -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