diff options
author | Darkvater <darkvater@openttd.org> | 2005-07-17 19:38:40 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-07-17 19:38:40 +0000 |
commit | eabc48218413f5d3e9e26d3675e32055af8cfc61 (patch) | |
tree | abc11a56c8c2ed2fbfa072e1d51e777538b87d36 | |
parent | 0550c4a87a4d9dc1fb3536234ad1f23621123e95 (diff) | |
download | openttd-eabc48218413f5d3e9e26d3675e32055af8cfc61.tar.xz |
(svn r2624) - Fix: oops, forgot to change the already in use DrawStringCenteredTruncated() functions.
-rw-r--r-- | network_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network_gui.c b/network_gui.c index cccba0d19..a1ae21cae 100644 --- a/network_gui.c +++ b/network_gui.c @@ -169,10 +169,10 @@ static void NetworkGameWindowWndProc(Window *w, WindowEvent *e) SetDParamStr(0, sel->info.server_name); - DrawStringCenteredTruncated(365, 42, STR_ORANGE, 16, 220); // game name + DrawStringCenteredTruncated(w->widget[16].left, w->widget[16].right, 42, STR_ORANGE, 16); // game name SetDParamStr(0, sel->info.map_name); - DrawStringCenteredTruncated(365, 54, STR_02BD, 16, 220); // map name + DrawStringCenteredTruncated(w->widget[16].left, w->widget[16].right, 54, STR_02BD, 16); // map name SetDParam(0, sel->info.clients_on); SetDParam(1, sel->info.clients_max); |