summaryrefslogtreecommitdiff
path: root/network_gui.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-14 20:27:00 +0000
committertruelight <truelight@openttd.org>2004-12-14 20:27:00 +0000
commitb6c74c1c2077ce0c4dcd525890ea739a807f1508 (patch)
tree414a017a79ae9c8b05c4483bd6e6130f2b814562 /network_gui.c
parent52aeaebde0f813375a5b08425fe522ffe1cc55c0 (diff)
downloadopenttd-b6c74c1c2077ce0c4dcd525890ea739a807f1508.tar.xz
(svn r1090) -Fix: Made the _openttd_revision variable global, and with that
hopefully killed the windows-revision problem. If WITH_REV is defined, for both Windows as *nix system _openttd_revision is filled with normal info, else _openttd_revision is set to 'norev000' -Fix: Small possible server-crash
Diffstat (limited to 'network_gui.c')
-rw-r--r--network_gui.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/network_gui.c b/network_gui.c
index 839e227ab..2d39bcbf0 100644
--- a/network_gui.c
+++ b/network_gui.c
@@ -47,15 +47,6 @@ enum {
static NetworkGameList *_selected_item = NULL;
static int8 _selected_company_item = -1;
-#ifdef WITH_REV_HACK
- #define WITH_REV
- const char _openttd_revision[] = WITH_REV_HACK;
-#else
- #ifdef WITH_REV
- extern char _openttd_revision[];
- #endif
-#endif
-
// Truncates a string to max_width (via GetStringWidth) and adds 3 dots
// at the end of the name.
static void NetworkTruncateString(char *name, const int max_width)