diff options
Diffstat (limited to 'src/osd/windows/winutil.cpp')
-rw-r--r-- | src/osd/windows/winutil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/windows/winutil.cpp b/src/osd/windows/winutil.cpp index 5c3d216b8a1..b10c32cf0f5 100644 --- a/src/osd/windows/winutil.cpp +++ b/src/osd/windows/winutil.cpp @@ -106,7 +106,7 @@ void osd_subst_env(std::string &dst, const std::string &src) { TCHAR buffer[MAX_PATH]; - auto t_src = tstring_from_utf8(src.c_str()); + tstring t_src = tstring_from_utf8(src); ExpandEnvironmentStrings(t_src.c_str(), buffer, ARRAY_LENGTH(buffer)); utf8_from_tstring(dst, buffer); } |