Skip to content

Commit

Permalink
Fixing utf-8 casting.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasnoble committed Mar 27, 2024
1 parent 325d622 commit 5a7efc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ZepFileSystemCPP::ZepFileSystemCPP(const ZepPath& configPath)
// Use the config path
m_configPath = configPath;

m_workingDirectory = ZepPath(cpp_fs::current_path().string());
m_workingDirectory = ZepPath(reinterpret_cast<const char*>(cpp_fs::current_path().u8string().c_str()));

// Didn't find the config path, try the working directory
if (!Exists(m_configPath))
Expand Down

0 comments on commit 5a7efc2

Please sign in to comment.