From 0533d9ff6ea5dd78f432d7f9746992d3474803e5 Mon Sep 17 00:00:00 2001 From: darkvater Date: Thu, 23 Dec 2004 19:33:17 +0000 Subject: (svn r1260) -Fix: [1090357] Patch for braindead MinGW compiler (luzi82) --- player_gui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'player_gui.c') diff --git a/player_gui.c b/player_gui.c index 89d35caf1..824701942 100644 --- a/player_gui.c +++ b/player_gui.c @@ -16,7 +16,7 @@ #include "network_client.h" #endif -static void DoShowPlayerFinances(int player, bool small); +static void DoShowPlayerFinances(int player, bool show_small); static void DrawPlayerEconomyStats(Player *p, byte mode) @@ -210,12 +210,12 @@ static const WindowDesc * const desc_table[2*2] = { &_other_player_finances_desc,&_other_player_finances_small_desc, }; -static void DoShowPlayerFinances(int player, bool small) +static void DoShowPlayerFinances(int player, bool show_small) { Window *w; int mode; - mode = ((byte)player != _local_player)*2 + small; + mode = ((byte)player != _local_player)*2 + show_small; w = AllocateWindowDescFront( desc_table[mode], player); if (w) { w->caption_color = w->window_number; -- cgit v1.2.3-54-g00ecf