Windows : correct bug in construction of Format.exe path that prevented the new volume wizard to launch.

This commit is contained in:
Mounir IDRASSI
2014-11-08 23:22:43 +01:00
parent bb7ef68040
commit f158df394e
+1 -1
View File
@@ -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