mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
Update util.cpp
This commit is contained in:
parent
866401b994
commit
799a6672ce
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ ghc::filesystem::path utils::file::current_path() {
|
|||
std::array<TCHAR, MAX_PATH> szFileName;
|
||||
GetModuleFileName(NULL, szFileName.data(), MAX_PATH);
|
||||
|
||||
ghc::filesystem::path path(szFileName);
|
||||
ghc::filesystem::path path(szFileName.data());
|
||||
auto currentPath = path.parent_path();
|
||||
return currentPath;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue