2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 07:47:42 +00:00

Remaining object tracker platforms

This commit is contained in:
Jack Andersen
2017-11-05 20:56:17 -10:00
parent d2fda8a373
commit a3b9a32633
7 changed files with 22 additions and 16 deletions

View File

@@ -108,6 +108,8 @@ void SanitizePath(std::string& path)
}
return a;
});
while (path.back() == '/')
path.pop_back();
}
static const std::wstring WIllegals {L"<>?\"|"};
@@ -140,6 +142,8 @@ void SanitizePath(std::wstring& path)
}
return a;
});
while (path.back() == L'/')
path.pop_back();
}
static std::mutex PathsMutex;