Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] (PR#11321) gui-gtk-2.0/repodlgs.c : cmp_func()
Home

[Freeciv-Dev] (PR#11321) gui-gtk-2.0/repodlgs.c : cmp_func()

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#11321) gui-gtk-2.0/repodlgs.c : cmp_func()
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 3 Dec 2004 11:37:18 -0800
Reply-to: rt@xxxxxxxxxxx

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

This function has its own special handling of future technologies that 
assumes the future technology has a number somewhere greater than 
game.num_tech_types.  Where does it get this idea?  Is it being passed a 
tech value from somewhere else?  In any case this is dangerous, as this 
value will eventually get so large it will flow over the special techs 
(A_UNSET/A_NOINFO/A_FUTURE).

-jason





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#11321) gui-gtk-2.0/repodlgs.c : cmp_func(), Jason Short <=