From eabc48218413f5d3e9e26d3675e32055af8cfc61 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sun, 17 Jul 2005 19:38:40 +0000 Subject: [PATCH] (svn r2624) - Fix: oops, forgot to change the already in use DrawStringCenteredTruncated() functions. --- network_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network_gui.c b/network_gui.c index cccba0d19b..a1ae21cae7 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);