From f158df394ef0220df7e4ee544548497168e370c5 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 25 Aug 2014 08:38:42 +0200 Subject: Windows : correct bug in construction of Format.exe path that prevented the new volume wizard to launch. --- src/Mount/Mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Mount') 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 -- cgit v1.2.3