From 9b7ec6e1bbd608ac8b0d3d80a38972350fd7ff89 Mon Sep 17 00:00:00 2001 From: xiaoxiao921 Date: Thu, 4 Apr 2024 16:30:11 +0200 Subject: [PATCH] . --- src/services/gta_data/yim_fipackfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/gta_data/yim_fipackfile.cpp b/src/services/gta_data/yim_fipackfile.cpp index 84a7316b..0020e3fa 100644 --- a/src/services/gta_data/yim_fipackfile.cpp +++ b/src/services/gta_data/yim_fipackfile.cpp @@ -139,7 +139,7 @@ namespace big const auto rel_path = std::filesystem::relative(utf8_path); - const auto utf8_rel_path = string_conversions::utf_16_to_code_page(CP_UTF8, entry.path().wstring()); + const auto utf8_rel_path = string_conversions::utf_16_to_code_page(CP_UTF8, rel_path.wstring()); LOG(VERBOSE) << "Game file path relative: " << utf8_rel_path; if (rel_path.empty())