summaryrefslogtreecommitdiff
path: root/viewport.c
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2006-10-18 14:42:19 +0000
committerglx <glx@openttd.org>2006-10-18 14:42:19 +0000
commitf730a2864f4bd55fde94db0f6c68b824b9df59c9 (patch)
tree1790b6916e10897d9cd8d25f8b42083c4a32bc45 /viewport.c
parent2d48fd2861133a463d979807c377549341eef447 (diff)
downloadopenttd-f730a2864f4bd55fde94db0f6c68b824b9df59c9.tar.xz
(svn r6822) -Fix r6821: add type for measure_strings_length[]
Diffstat (limited to 'viewport.c')
-rw-r--r--viewport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewport.c b/viewport.c
index ba4a13b0a..337f0b134 100644
--- a/viewport.c
+++ b/viewport.c
@@ -2110,7 +2110,7 @@ static int CalcHeightdiff(HighLightStyle style, uint distance, TileIndex start_t
return (int)(h1 - h0) * 50;
}
-static const measure_strings_length[] = {STR_NULL, STR_MEASURE_LENGTH, STR_MEASURE_LENGTH_HEIGHTDIFF};
+static const StringID measure_strings_length[] = {STR_NULL, STR_MEASURE_LENGTH, STR_MEASURE_LENGTH_HEIGHTDIFF};
// while dragging
static void CalcRaildirsDrawstyle(TileHighlightData *thd, int x, int y, int method)