VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms/SelectDirectoryWizardPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main/Forms/SelectDirectoryWizardPage.cpp')
-rw-r--r--src/Main/Forms/SelectDirectoryWizardPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/Forms/SelectDirectoryWizardPage.cpp b/src/Main/Forms/SelectDirectoryWizardPage.cpp
index a6a3ab02..1299e22b 100644
--- a/src/Main/Forms/SelectDirectoryWizardPage.cpp
+++ b/src/Main/Forms/SelectDirectoryWizardPage.cpp
@@ -16,7 +16,7 @@ namespace TrueCrypt
{
if (!DirectoryTextCtrl->IsEmpty())
{
- return FilesystemPath (DirectoryTextCtrl->GetValue()).IsDirectory();
+ return FilesystemPath (DirectoryTextCtrl->GetValue().wc_str()).IsDirectory();
}
return false;