[Freeciv-Dev] (PR#7316) Remove government knowledge from clients
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<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;
|
|