diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 546859fb3..62378d08e 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -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: |