From 84ee7076d93b56eefafb9f5e464e2fe5e56b83af Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 25 Jan 2016 01:44:03 +0100 Subject: Linux/MacOSX: remove unecessary XML resource string replacement of %hs, not needed since Unicode rewrite. --- src/Main/Forms/VolumeCreationWizard.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/Main/Forms') diff --git a/src/Main/Forms/VolumeCreationWizard.cpp b/src/Main/Forms/VolumeCreationWizard.cpp index 201a4379..5605920d 100755 --- a/src/Main/Forms/VolumeCreationWizard.cpp +++ b/src/Main/Forms/VolumeCreationWizard.cpp @@ -920,7 +920,6 @@ namespace VeraCrypt if (SelectedVolumePath.IsDevice()) { wxString confirmMsg = LangString["OVERWRITEPROMPT_DEVICE"]; - confirmMsg.Replace (L"%hs", L"%s"); if (!Gui->AskYesNo (wxString::Format (confirmMsg, wxString (_("DEVICE")).c_str(), wstring (SelectedVolumePath).c_str(), L""), false, true)) return GetCurrentStep(); @@ -928,7 +927,6 @@ namespace VeraCrypt else if (FilesystemPath (wstring (SelectedVolumePath)).IsFile()) { wxString confirmMsg = LangString["OVERWRITEPROMPT"]; - confirmMsg.Replace (L"%hs", L"%s"); if (!Gui->AskYesNo (wxString::Format (confirmMsg, wstring (SelectedVolumePath).c_str()), false, true)) return GetCurrentStep(); -- cgit v1.2.3