[Freeciv-Dev] (PR#10533) bug: add next / add last no longer work as adve
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10533 >
> [bhudson - Sat Oct 16 04:09:39 2004]:
>
> add next works now; great!
> add last doesn't -- nothing at all happens when I add last.
Heh heh. An unrelated bug that canceled the first one out nicely.
jason
? diff
? newtiles
Index: client/gui-gtk-2.0/cityrep.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/cityrep.c,v
retrieving revision 1.63
diff -u -r1.63 cityrep.c
--- client/gui-gtk-2.0/cityrep.c 29 Sep 2004 02:24:21 -0000 1.63
+++ client/gui-gtk-2.0/cityrep.c 16 Oct 2004 06:58:29 -0000
@@ -339,7 +339,7 @@
gtk_tree_model_get(model, it, 1, &id, -1);
pcity = find_city_by_id(id);
- (void) city_queue_insert(pcity, cid_is_unit(cid), cid_id(cid), -1);
+ (void) city_queue_insert(pcity, -1, cid_is_unit(cid), cid_id(cid));
/* perhaps should warn the user if not successful? */
}
|
|