From 6b2695eb40f5253b417a8a1754b22f677137c6ec Mon Sep 17 00:00:00 2001 From: Martin Ridgers Date: Thu, 2 Dec 2021 08:47:05 +0100 Subject: WideToUtf8() to PathToUtf8() --- zen/chunk/chunk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } }); -- cgit v1.2.3