From 2e8e14826274cd1a1037ffc5f8663b9cb6ce609b Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 3 Oct 2010 19:17:53 +0000 Subject: [PATCH] (svn r20894) -Fix [FS#4148] (r20772): use correct company name for group window title (sbr) --- src/group_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/group_gui.cpp b/src/group_gui.cpp index bdbc41e6f7..bae682c9e2 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -280,7 +280,7 @@ public: * We list all vehicles or ungrouped vehicles */ if (IsDefaultGroupID(this->vli.index) || IsAllGroupID(this->vli.index)) { SetDParam(0, STR_COMPANY_NAME); - SetDParam(1, GB(this->window_number, 0, 8)); + SetDParam(1, this->vli.company); SetDParam(2, this->vehicles.Length()); SetDParam(3, this->vehicles.Length()); } else {