Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2004:
[Freeciv-Dev] (PR#7316) Remove government knowledge from clients
Home

[Freeciv-Dev] (PR#7316) Remove government knowledge from clients

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: i-freeciv-lists@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#7316) Remove government knowledge from clients
From: "Guest" <rt-guest@xxxxxxxxxxx>
Date: Sat, 7 Feb 2004 12:53:56 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7316 >

 
The same bug occurs in another place. This fixes it 
 
David Stewart 
diff -urw -Xdiff_ignore freeciv-cvs-Feb-08/client/gui-gtk/dialogs.c 
freeciv-gov/client/gui-gtk/dialogs.c
--- freeciv-cvs-Feb-08/client/gui-gtk/dialogs.c Fri Feb  6 21:10:28 2004
+++ freeciv-gov/client/gui-gtk/dialogs.c        Fri Feb  6 22:26:26 2004
@@ -1204,7 +1204,7 @@
     buttons[i].text = government[i]->name;
     buttons[i].callback = government_callback;
     buttons[i].data = GINT_TO_POINTER(government[i]->index);
-    buttons[i].sensitive = can_change_to_government(game.player_ptr, i);
+    buttons[i].sensitive = can_change_to_government(game.player_ptr, 
government[i]->index);
   }
 
   government_dialog_is_open = TRUE;

[Prev in Thread] Current Thread [Next in Thread]