(svn r18595) -Fix (r18277): one couldn't enter test via the keyboard in the company password window. Also replace a magic number with a enumified constant.
This commit is contained in:
@@ -2328,7 +2328,7 @@ struct NetworkCompanyPasswordWindow : public QueryStringBaseWindow {
|
|||||||
virtual EventState OnKeyPress(uint16 key, uint16 keycode)
|
virtual EventState OnKeyPress(uint16 key, uint16 keycode)
|
||||||
{
|
{
|
||||||
EventState state = ES_NOT_HANDLED;
|
EventState state = ES_NOT_HANDLED;
|
||||||
switch (this->HandleEditBoxKey(4, key, keycode, state)) {
|
switch (this->HandleEditBoxKey(NCPWW_PASSWORD, key, keycode, state)) {
|
||||||
default: break;
|
default: break;
|
||||||
|
|
||||||
case HEBR_CONFIRM:
|
case HEBR_CONFIRM:
|
||||||
|
Reference in New Issue
Block a user