diff options
| author | Martin Ridgers <[email protected]> | 2021-12-02 08:47:05 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-12-02 11:36:19 +0100 |
| commit | 6b2695eb40f5253b417a8a1754b22f677137c6ec (patch) | |
| tree | cc1da0e6d83aff59b5a1932be2622133e70d0cf3 | |
| parent | Deleted unused variable (diff) | |
| download | zen-6b2695eb40f5253b417a8a1754b22f677137c6ec.tar.xz zen-6b2695eb40f5253b417a8a1754b22f677137c6ec.zip | |
WideToUtf8() to PathToUtf8()
| -rw-r--r-- | zen/chunk/chunk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/chunk/chunk.cpp b/zen/chunk/chunk.cpp index e2ecf8c30..866372654 100644 --- a/zen/chunk/chunk.cpp +++ b/zen/chunk/chunk.cpp @@ -1038,7 +1038,7 @@ ChunkCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) catch (std::exception& ex) { zen::ExtendableStringBuilder<256> Path8; - zen::WideToUtf8(ThisFile.Path.c_str(), Path8); + zen::PathToUtf8(ThisFile.Path, Path8); ZEN_WARN("Caught exception while chunking '{}': {}", Path8, ex.what()); } }); |