[Freeciv-Dev] (PR#11316) gui-stub/gui_main.c should include civclient.h
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: |
[Freeciv-Dev] (PR#11316) gui-stub/gui_main.c should include civclient.h |
From: |
"Frédéric Brière" <fbriere@xxxxxxxxxxx> |
Date: |
Fri, 3 Dec 2004 00:22:54 -0800 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=11316 >
The declaration of the new gui_character_encoding and
gui_use_transliteration is contained in civclient.h, which
gui-stub/gui_main.c doesn't include. (AFAIK, every other client does.)
This patch fixes this, so that altering the definition of gui_use_* will
result in a compiler error.
--
Frédéric Brière <*> fbriere@xxxxxxxxxxx
=> <fbriere@xxxxxxxxxx> IS NO MORE: <http://www.abacomsucks.com> <=
Index: client/gui-stub/gui_main.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-stub/gui_main.c,v
retrieving revision 1.13
diff -u -r1.13 gui_main.c
--- client/gui-stub/gui_main.c 1 Dec 2004 22:15:22 -0000 1.13
+++ client/gui-stub/gui_main.c 3 Dec 2004 08:17:23 -0000
@@ -23,6 +23,8 @@
#include "gui_main.h"
+#include "civclient.h"
+
const char *client_string = "gui-stub";
const char * const gui_character_encoding = "UTF-8";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#11316) gui-stub/gui_main.c should include civclient.h,
Frédéric Brière <=
|
|