1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-12 11:28:26 -06:00

Linux/MacOSX: remove unecessary XML resource string replacement of %hs, not needed since Unicode rewrite.

This commit is contained in:
Mounir IDRASSI
2016-01-25 01:44:03 +01:00
parent 5a555deb74
commit 84ee7076d9
3 changed files with 0 additions and 6 deletions

View File

@@ -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();