mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-02-09 00:43:24 +01:00
Show an error message when parental unlock password is entered incorrectly.
This commit is contained in:
parent
adecc42f5c
commit
009c98909d
@ -176,6 +176,8 @@ int CMenu::_config1(void)
|
|||||||
_hideConfig();
|
_hideConfig();
|
||||||
if (_code(code) && memcmp(code, m_cfg.getString("GENERAL", "parent_code", "").c_str(), 4) == 0)
|
if (_code(code) && memcmp(code, m_cfg.getString("GENERAL", "parent_code", "").c_str(), 4) == 0)
|
||||||
m_locked = false;
|
m_locked = false;
|
||||||
|
else
|
||||||
|
error(L"Password incorrect.");
|
||||||
_showConfig();
|
_showConfig();
|
||||||
}
|
}
|
||||||
else if (m_btnMgr.selected(m_configBtnSetCode))
|
else if (m_btnMgr.selected(m_configBtnSetCode))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user