diff options
Diffstat (limited to 'src/osd/modules/file/winfile.cpp')
| -rw-r--r-- | src/osd/modules/file/winfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/file/winfile.cpp b/src/osd/modules/file/winfile.cpp index be4fa6f70c3..199537bbdee 100644 --- a/src/osd/modules/file/winfile.cpp +++ b/src/osd/modules/file/winfile.cpp @@ -164,7 +164,7 @@ DWORD create_path_recursive(TCHAR *path) std::error_condition osd_file::open(std::string const &orig_path, uint32_t openflags, ptr &file, std::uint64_t &filesize) noexcept { std::string path; - try { osd_subst_env(path, orig_path); } + try { path = osd_subst_env(orig_path); } catch (...) { return std::errc::not_enough_memory; } if (win_check_socket_path(path)) |
