From c7f3daacbf57e8213550f5bca3226565cbafe5e3 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 9 Feb 2009 02:33:10 +0000 Subject: (svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window --- src/group_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/group_gui.cpp') diff --git a/src/group_gui.cpp b/src/group_gui.cpp index b8cc53377..4dd14a866 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -173,7 +173,7 @@ public: const Owner owner = (Owner)GB(this->window_number, 0, 8); this->vehicle_type = (VehicleType)GB(this->window_number, 11, 5); - this->caption_color = owner; + this->owner = owner; this->resize.step_width = 1; switch (this->vehicle_type) { -- cgit v1.2.3-70-g09d2