Linux/MacOSX: fix wrong AskYesNo method parameters use caused by mistake in parenthesis use.

This commit is contained in:
Mounir IDRASSI 2016-01-25 01:39:58 +01:00
parent b8a2e808c6
commit 5a555deb74

View File

@ -930,7 +930,7 @@ namespace VeraCrypt
wxString confirmMsg = LangString["OVERWRITEPROMPT"]; wxString confirmMsg = LangString["OVERWRITEPROMPT"];
confirmMsg.Replace (L"%hs", L"%s"); confirmMsg.Replace (L"%hs", L"%s");
if (!Gui->AskYesNo (wxString::Format (confirmMsg, wstring (SelectedVolumePath).c_str(), false, true))) if (!Gui->AskYesNo (wxString::Format (confirmMsg, wstring (SelectedVolumePath).c_str()), false, true))
return GetCurrentStep(); return GetCurrentStep();
} }
} }