adapt ShowMsg handling from martii's neutrino-mp

Origin commit data
------------------
Commit: 53f5801d6f
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-01-22 (Wed, 22 Jan 2014)

Origin message was:
------------------
- adapt ShowMsg handling from martii's neutrino-mp
This commit is contained in:
vanhofen
2014-01-22 12:37:21 +01:00
parent 8a02f4f089
commit 8d5aa84e20
40 changed files with 138 additions and 126 deletions

View File

@@ -356,7 +356,7 @@ int CHDDFmtExec::exec(CMenuTarget* /*parent*/, const std::string& key)
printf("CHDDFmtExec: key %s\n", key.c_str());
res = ShowMsgUTF ( LOCALE_HDD_FORMAT, g_Locale->getText(LOCALE_HDD_FORMAT_WARN), CMessageBox::mbrNo, CMessageBox::mbYes | CMessageBox::mbNo );
res = ShowMsg ( LOCALE_HDD_FORMAT, g_Locale->getText(LOCALE_HDD_FORMAT_WARN), CMessageBox::mbrNo, CMessageBox::mbYes | CMessageBox::mbNo );
if(res != CMessageBox::mbrYes)
return 0;