Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] Re: (PR#8591) win32: client crashes on middle click
Home

[Freeciv-Dev] Re: (PR#8591) win32: client crashes on middle click

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: use_less@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8591) win32: client crashes on middle click
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 25 Apr 2004 17:29:19 -0700
Reply-to: rt@xxxxxxxxxxx

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

James Canete wrote:

> Version 2.

Casts like this are dangerous.  Are you sure the function type matches? 
  Can you change the function type that list_impr_or_unit_select takes?

+      list_impr_or_unit_select(hLst,num,(TestCityFunc *)city_got_building);



Should be static:

+bool popit_is_orders;



If you update_map_canvas_visble, you need not do the other updates.  Not 
that it matters much, really.

@@ -84,6 +87,9 @@
             cross_list++;
           }
        }
+      if (popit_is_orders) {
+       update_map_canvas_visible();
+      }


-jason




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