Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] (PR#3488) duplicate cityrep_buy functions in gui-win32
Home

[Freeciv-Dev] (PR#3488) duplicate cityrep_buy functions in gui-win32

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#3488) duplicate cityrep_buy functions in gui-win32
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 Feb 2003 02:13:40 -0800
Reply-to: rt@xxxxxxxxxxxxxx

A recent patch introduced cityrep_buy() into climisc.  But gui-win32
already has a function with this name.

jason

Index: client/gui-win32/cityrep.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-win32/cityrep.c,v
retrieving revision 1.23
diff -u -r1.23 cityrep.c
--- client/gui-win32/cityrep.c  2003/02/15 20:26:17     1.23
+++ client/gui-win32/cityrep.c  2003/02/21 10:10:59
@@ -347,7 +347,7 @@
 /**************************************************************************
 
 **************************************************************************/
-static void cityrep_buy(HWND hWnd)
+static void cityrep_do_buy(HWND hWnd)
 {
   int cityids[256];
   int i;
@@ -999,7 +999,7 @@
          cityrep_popup(hWnd);
          break;
        case ID_CITYREP_BUY:
-         cityrep_buy(hWnd);
+         cityrep_do_buy(hWnd);
          break;
        case ID_CITYREP_CHANGE:
          cityrep_change(hWnd);

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#3488) duplicate cityrep_buy functions in gui-win32, Jason Short <=