Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] (PR#11565) citydlg.c not compiling -- gui-xaw
Home

[Freeciv-Dev] (PR#11565) citydlg.c not compiling -- gui-xaw

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: infyquest@xxxxxxxxx
Subject: [Freeciv-Dev] (PR#11565) citydlg.c not compiling -- gui-xaw
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 17 Dec 2004 00:56:53 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11565 >

> [infyquest@xxxxxxxxx - Fri Dec 17 07:42:41 2004]:

> citydlg.c:497: error: `SP_TAXMAN' undeclared (first use in this
> function)

Here's a patch.

-jason

Index: client/gui-xaw/citydlg.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-xaw/citydlg.c,v
retrieving revision 1.127
diff -u -r1.127 citydlg.c
--- client/gui-xaw/citydlg.c    13 Dec 2004 16:23:29 -0000      1.127
+++ client/gui-xaw/citydlg.c    17 Dec 2004 08:56:12 -0000
@@ -494,7 +494,7 @@
   Dimension widthPrev, borderPrev, internalPrev, spacePrev;
   Widget relative;
   struct citizen_type c = {.type = CITIZEN_SPECIALIST,
-                          .spec_type = SP_TAXMAN};
+                          .spec_type = DEFAULT_SPECIALIST};
 
   if (NORMAL_TILE_HEIGHT<45) dummy_improvement_list[5]=0;
 

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