about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-11-08 09:16:03 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-11-08 09:16:03 +0000
commit5fa862c8d4c5bf1a96c5f0d9b5234f38550c7d8c (patch)
treeb1bb5f72867c234fb49a006ccb5e98633934604d /src/game/client
parent711aa0db763e31bd7916ea31f5f3f934e4000ab8 (diff)
downloadzcatch-5fa862c8d4c5bf1a96c5f0d9b5234f38550c7d8c.tar.gz
zcatch-5fa862c8d4c5bf1a96c5f0d9b5234f38550c7d8c.zip
fixed so that the host address field is saved between launches
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/menu2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/menu2.cpp b/src/game/client/menu2.cpp
index 2e44df6b..0527e15f 100644
--- a/src/game/client/menu2.cpp
+++ b/src/game/client/menu2.cpp
@@ -922,7 +922,7 @@ static void menu2_render_serverbrowser(RECT main_view)
 		ui2_hsplit_t(&toolbox, 20.0f, &button, &toolbox);
 		ui2_do_label(&button, "Host address:", 18, -1);
 		ui2_vsplit_l(&button, 100.0f, 0, &button);
-		ui2_do_edit_box(&address, &button, address, sizeof(address));
+		ui2_do_edit_box(&address, &button, config.ui_server_address, sizeof(config.ui_server_address));
 	}
 }