summaryrefslogtreecommitdiff
path: root/strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings.c')
-rw-r--r--strings.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/strings.c b/strings.c
index 0aeff04f5..92482bcbf 100644
--- a/strings.c
+++ b/strings.c
@@ -19,12 +19,12 @@ static uint _langtab_num[32]; // Offset into langpack offs
static uint _langtab_start[32]; // Offset into langpack offs
#ifdef WITH_REV_HACK
-#define WITH_REV
-const char _openttd_revision[] = WITH_REV_HACK;
-#endif
-
-#ifdef WITH_REV
-extern const char _openttd_revision[];
+ #define WITH_REV
+ const char _openttd_revision[] = WITH_REV_HACK;
+#else
+ #ifdef WITH_REV
+ extern const char _openttd_revision[];
+ #endif
#endif
typedef byte *PlayerNameGeneratorProc(byte *buffr);