mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-17 19:49:10 +00:00
(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)
|
||||
{
|
||||
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:
|
||||
|
Reference in New Issue
Block a user