diff options
Diffstat (limited to 'lib/UnrarXLib/pathfn.cpp')
-rw-r--r-- | lib/UnrarXLib/pathfn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/UnrarXLib/pathfn.cpp b/lib/UnrarXLib/pathfn.cpp index 70dd9bb15b..11aad0426d 100644 --- a/lib/UnrarXLib/pathfn.cpp +++ b/lib/UnrarXLib/pathfn.cpp @@ -345,7 +345,7 @@ bool EnumConfigPaths(char *Path,int Number) if (Number!=0) return(false); #if !defined(TARGET_POSIX) - GetModuleFileName(NULL,Path,NM); + GetModuleFileName(NULL,(LPWSTR)unrarxlib::ToW(Path).c_str(),NM); RemoveNameFromPath(Path); #endif return(true); |