aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zencore/include/zencore/filesystem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/include/zencore/filesystem.h b/zencore/include/zencore/filesystem.h
index 574567445..e0fd891f1 100644
--- a/zencore/include/zencore/filesystem.h
+++ b/zencore/include/zencore/filesystem.h
@@ -86,7 +86,7 @@ public:
std::string ToUtf8() const
{
#if ZEN_PLATFORM_WINDOWS
- WideToUtf8(Super::ToView());
+ return WideToUtf8(Super::ToView());
#else
return std::string(Super::ToView());
#endif