| [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]
 
 
<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;
 
 
 |  |