diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:20:29 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:20:29 +0200 |
commit | b8f13e45be884dc12884ebe8f3dcd9eecb23a106 (patch) | |
tree | 22a6d8b96815d626061ff3e2d432c13078fca5c4 /lib/ffs_paths.h | |
parent | 5.4 (diff) | |
download | FreeFileSync-b8f13e45be884dc12884ebe8f3dcd9eecb23a106.tar.gz FreeFileSync-b8f13e45be884dc12884ebe8f3dcd9eecb23a106.tar.bz2 FreeFileSync-b8f13e45be884dc12884ebe8f3dcd9eecb23a106.zip |
5.5
Diffstat (limited to 'lib/ffs_paths.h')
-rw-r--r-- | lib/ffs_paths.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ffs_paths.h b/lib/ffs_paths.h index 9376825b..d7987195 100644 --- a/lib/ffs_paths.h +++ b/lib/ffs_paths.h @@ -42,7 +42,7 @@ namespace impl inline const Zstring& getBinaryDir() //directory containing executable WITH path separator at end { - static Zstring instance = beforeLast(toZ(wxStandardPaths::Get().GetExecutablePath()), FILE_NAME_SEPARATOR) + Zstring(FILE_NAME_SEPARATOR); //extern linkage! + static Zstring instance = beforeLast(utfCvrtTo<Zstring>(wxStandardPaths::Get().GetExecutablePath()), FILE_NAME_SEPARATOR) + Zstring(FILE_NAME_SEPARATOR); //extern linkage! return instance; } @@ -102,7 +102,7 @@ Zstring getConfigDir() if (!dirExists(userDirectory)) try { - createDirectory(userDirectory); //only top directory needs to be created: no recursion necessary + makeDirectory(userDirectory); //only top directory needs to be created: no recursion necessary } catch (const FileError&) {} |