From c136432978c422d4489bd38cb2d97609a9db2f46 Mon Sep 17 00:00:00 2001 From: truelight Date: Tue, 21 Dec 2004 14:54:27 +0000 Subject: (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 :) --- network_gui.c | 7 +++++++ 1 file changed, 7 insertions(+) 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! -- cgit v1.2.3-70-g09d2