Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2004:
[Freeciv-Dev] (PR#9136) win32: clean up unit drawing functions in citydl
Home

[Freeciv-Dev] (PR#9136) win32: clean up unit drawing functions in citydl

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9136) win32: clean up unit drawing functions in citydlg.c
From: "James Canete" <use_less@xxxxxxxxxxx>
Date: Mon, 28 Jun 2004 00:37:29 -0700
Reply-to: rt@xxxxxxxxxxx

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

In citydlg.c in the win32 client, the functions
city_dialog_update_supported_units() and
city_dialog_update_present_units() have an extra parameter, int id,
which is always set to 0 by every caller.

This patch eliminates this parameter, and uses its removal to streamline
the functions.

-James Canete

Attachment: win32-citydlg-cleanunitdraw.diff
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#9136) win32: clean up unit drawing functions in citydlg.c, James Canete <=