Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] [PATCH] remove duplicated code in gui-gtk/citydlg.c
Home

[Freeciv-Dev] [PATCH] remove duplicated code in gui-gtk/citydlg.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv-Dev <freeciv-dev@xxxxxxxxxxx>
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] [PATCH] remove duplicated code in gui-gtk/citydlg.c
From: Mike Kaufman <mkaufman@xxxxxxxxxxxxxx>
Date: Fri, 28 Dec 2001 14:12:35 -0600

here's a small patch to eliminate some duplicate code from the bottom of
citydlg.c

Currently, the prev/next buttons require separate callbacks. With the
exception of a minus sign, the two functions are identical. This patch
eliminates one.

-mike

Attachment: prevnext.patch
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] [PATCH] remove duplicated code in gui-gtk/citydlg.c, Mike Kaufman <=