diff options
author | truelight <truelight@openttd.org> | 2004-12-21 14:54:27 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-21 14:54:27 +0000 |
commit | c136432978c422d4489bd38cb2d97609a9db2f46 (patch) | |
tree | 455e1c45bb62715b3b17a12c04640c34a3fe8d20 | |
parent | 245bc59c68eade21a03532f1b13282a7f1c70760 (diff) | |
download | openttd-c136432978c422d4489bd38cb2d97609a9db2f46.tar.xz |
(svn r1197) -Fix: [GUI] in r1194 someone deleted too much code from WE_KEYPRESS. Now
you can change your player-name in the GUI again :)
-rw-r--r-- | network_gui.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/network_gui.c b/network_gui.c index aa73b854f..d4920f80c 100644 --- a/network_gui.c +++ b/network_gui.c @@ -309,6 +309,13 @@ static void NetworkGameWindowWndProc(Window *w, WindowEvent *e) _selected_item = NULL; } } + break; + } + + switch (HandleEditBoxKey(w, 3, e)) { + case 1: + HandleButtonClick(w, 8); + break; } // The name is only allowed when it starts with a letter! |