Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] (PR#2542) options.c fix for --disable-nls
Home

[Freeciv-Dev] (PR#2542) options.c fix for --disable-nls

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#2542) options.c fix for --disable-nls
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Wed, 11 Dec 2002 01:37:53 -0800
Reply-to: rt@xxxxxxxxxxxxxx

The attached patch avoids a compile warning when compiling with
--disable-nls.

jason


Index: client/options.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/options.c,v
retrieving revision 1.74
diff -u -r1.74 options.c
--- client/options.c    2002/11/23 02:55:42     1.74
+++ client/options.c    2002/12/11 09:35:40
@@ -188,7 +188,7 @@
   const char *enum_name;
   char *tag_name;
   const char *descr_orig;
-  char *descr;
+  const char *descr;
   enum event_type event;
 } events[] = {
   GEN_EV(N_("City: Building Unavailable Item"),       E_CITY_CANTBUILD),

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#2542) options.c fix for --disable-nls, Jason Short via RT <=