(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:
rubidium 2009-12-21 20:32:20 +00:00
parent a7cacd98ed
commit 0cb84effc8
1 changed files with 1 additions and 1 deletions

View File

@ -2328,7 +2328,7 @@ struct NetworkCompanyPasswordWindow : public QueryStringBaseWindow {
virtual EventState OnKeyPress(uint16 key, uint16 keycode)
{
EventState state = ES_NOT_HANDLED;
switch (this->HandleEditBoxKey(4, key, keycode, state)) {
switch (this->HandleEditBoxKey(NCPWW_PASSWORD, key, keycode, state)) {
default: break;
case HEBR_CONFIRM: