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/GraphicUserInterface.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/Main/GraphicUserInterface.cpp') diff --git a/src/Main/GraphicUserInterface.cpp b/src/Main/GraphicUserInterface.cpp index 3b8041a9..3526dcad 100644 --- a/src/Main/GraphicUserInterface.cpp +++ b/src/Main/GraphicUserInterface.cpp @@ -252,7 +252,6 @@ namespace VeraCrypt // Ask user to select backup file path wxString confirmMsg = LangString["CONFIRM_VOL_HEADER_BAK"]; - confirmMsg.Replace (L"%hs", L"%s"); if (!AskYesNo (wxString::Format (confirmMsg, wstring (*volumePath).c_str()), true)) return; @@ -1384,7 +1383,6 @@ namespace VeraCrypt // Restore header from an external backup wxString confirmMsg = LangString["CONFIRM_VOL_HEADER_RESTORE"]; - confirmMsg.Replace (L"%hs", L"%s"); if (!AskYesNo (wxString::Format (confirmMsg, wstring (*volumePath).c_str()), true, true)) return; -- cgit v1.2.3