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
commit7d505bd9fae593b971c27ad6e3e8a77e85e09468 (patch)
tree455e1c45bb62715b3b17a12c04640c34a3fe8d20 /network_gui.c
parentf1ce786bab77bc602da41c0ec131d379b892332d (diff)
downloadopenttd-7d505bd9fae593b971c27ad6e3e8a77e85e09468.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!