summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-05-04 21:53:36 +0000
committersmatz <smatz@openttd.org>2008-05-04 21:53:36 +0000
commit297f99e100bcede36d54b8f833756c73d70fd4a0 (patch)
tree741c48c433316b11af1a790772deb3a4078fe47c /src/strings.cpp
parent0b8b5d1f3b5f45374d1e43390777b2de51fb7728 (diff)
downloadopenttd-297f99e100bcede36d54b8f833756c73d70fd4a0.tar.xz
(svn r12944) -Codechange: use rev.h instead of externs at many places
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 5cebdf7da..ab2494808 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -27,6 +27,7 @@
#include "gui.h"
#include "strings_func.h"
#include "functions.h"
+#include "rev.h"
#include "core/endian_func.hpp"
#include "date_func.h"
#include "vehicle_base.h"
@@ -560,7 +561,6 @@ uint ConvertDisplaySpeedToSpeed(uint speed)
static char* FormatString(char* buff, const char* str, const int64* argv, uint casei, const char* last)
{
- extern const char _openttd_revision[];
WChar b;
const int64 *argv_orig = argv;
uint modifier = 0;