mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-29 16:30:02 -05:00
sys: std::filesystem -> fs
This commit is contained in:
@@ -67,8 +67,8 @@ namespace hex::pl {
|
||||
|
||||
if (includeFile[0] != '/') {
|
||||
for (const auto &dir : hex::getPath(ImHexPath::PatternsInclude)) {
|
||||
std::string tempPath = hex::format("{0}/{1}", dir.c_str(), includeFile.c_str());
|
||||
if (std::filesystem::exists(tempPath)) {
|
||||
std::string tempPath = hex::format("{0}/{1}", dir.string().c_str(), includeFile.c_str());
|
||||
if (fs::exists(tempPath)) {
|
||||
includePath = tempPath;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user