VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-08-25 08:38:42 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:22:43 +0100
commitf158df394ef0220df7e4ee544548497168e370c5 (patch)
tree5892cec4f1bfdc4c79a137802c74c3bf07e36973 /src/Mount
parentbb7ef680402992ec472796367fa56311ffeb4345 (diff)
downloadVeraCrypt-f158df394ef0220df7e4ee544548497168e370c5.tar.gz
VeraCrypt-f158df394ef0220df7e4ee544548497168e370c5.zip
Windows : correct bug in construction of Format.exe path that prevented the new volume wizard to launch.
Diffstat (limited to 'src/Mount')
-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 6b11c178..82e6b794 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