Incorrect string template fixed

This commit is contained in:
2016-10-17 16:38:00 +02:00
parent 7557bf784a
commit 2cf134db1e
13 changed files with 24 additions and 24 deletions

View File

@@ -292,7 +292,7 @@ protected:
int idx = m_providers->GetSelection();
eap::config_provider &cfg_provider = dynamic_cast<_wxT*>(m_providers->GetPage(idx))->GetProvider();
if (wxMessageBox(tstring_printf(_("Are you sure you want to permanently remove %ls provider from configuration?"), static_cast<LPCTSTR>(wxEAPGetProviderName(cfg_provider.m_name))), _("Warning"), wxYES_NO, this) == wxYES) {
if (wxMessageBox(tstring_printf(_("Are you sure you want to permanently remove %s provider from configuration?"), static_cast<LPCTSTR>(wxEAPGetProviderName(cfg_provider.m_name))), _("Warning"), wxYES_NO, this) == wxYES) {
// Delete provider.
auto it = m_cfg.m_providers.begin();
for (int i = 0; i < idx; i++, ++it);