Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit b9f7c47

Browse files
authored
Merge pull request #382 from q4a/profile-fix
Fix XI_FindFolders in Linux
2 parents 15be3df + 69f6e41 commit b9f7c47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/xinterface/src/string_service/str_service.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ uint32_t _InterfaceFindFolders(VS_STACK *pS)
13561356
return IFUNCRESULT_FAILED;
13571357
}
13581358
const char *sFindTemplate = pDat->GetString();
1359-
std::filesystem::path p = std::filesystem::u8path(sFindTemplate);
1359+
std::filesystem::path p = std::filesystem::u8path(fio->ConvertPathResource(sFindTemplate));
13601360
const auto mask = p.filename().string();
13611361
const auto vFilenames =
13621362
fio->_GetPathsOrFilenamesByMask(p.remove_filename().string().c_str(), mask.c_str(), false, true, false);

0 commit comments

Comments
 (0)