Show an error message when parental unlock password is entered incorrectly.

This commit is contained in:
entropy 2012-01-22 17:35:09 +00:00
parent adecc42f5c
commit 009c98909d

View File

@ -176,6 +176,8 @@ int CMenu::_config1(void)
_hideConfig();
if (_code(code) && memcmp(code, m_cfg.getString("GENERAL", "parent_code", "").c_str(), 4) == 0)
m_locked = false;
else
error(L"Password incorrect.");
_showConfig();
}
else if (m_btnMgr.selected(m_configBtnSetCode))