summaryrefslogtreecommitdiff
path: root/network_gui.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-21 14:54:27 +0000
committertruelight <truelight@openttd.org>2004-12-21 14:54:27 +0000
commitc136432978c422d4489bd38cb2d97609a9db2f46 (patch)
tree455e1c45bb62715b3b17a12c04640c34a3fe8d20 /network_gui.c
parent245bc59c68eade21a03532f1b13282a7f1c70760 (diff)
downloadopenttd-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 :)
Diffstat (limited to 'network_gui.c')
-rw-r--r--network_gui.c7
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!