VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-08-25 06:38:42 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 22:22:43 (GMT)
commitf158df394ef0220df7e4ee544548497168e370c5 (patch)
tree5892cec4f1bfdc4c79a137802c74c3bf07e36973 /src
parentbb7ef680402992ec472796367fa56311ffeb4345 (diff)
downloadVeraCrypt-f158df394ef0220df7e4ee544548497168e370c5.zip
VeraCrypt-f158df394ef0220df7e4ee544548497168e370c5.tar.gz
Windows : correct bug in construction of Format.exe path that prevented the new volume wizard to launch.
Diffstat (limited to 'src')
-rw-r--r--src/Mount/Mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c
index 6b11c17..82e6b79 100644
--- a/src/Mount/Mount.c
+++ b/src/Mount/Mount.c
@@ -952,7 +952,7 @@ static void LaunchVolCreationWizard (HWND hwndDlg, const char *arg)
ZeroMemory (&si, sizeof (si));
*tmp = 0;
- StringCbCopyA (t, sizeof(t), "\\VeraCrypt Format.exe\"");
+ StringCbCatA (t, sizeof(t), "\\VeraCrypt Format.exe\"");
if (!FileExists(t))
Error ("VOL_CREATION_WIZARD_NOT_FOUND"); // Display a user-friendly error message and advise what to do