diff options
author | glx <glx@openttd.org> | 2006-10-18 14:42:19 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2006-10-18 14:42:19 +0000 |
commit | f730a2864f4bd55fde94db0f6c68b824b9df59c9 (patch) | |
tree | 1790b6916e10897d9cd8d25f8b42083c4a32bc45 | |
parent | 2d48fd2861133a463d979807c377549341eef447 (diff) | |
download | openttd-f730a2864f4bd55fde94db0f6c68b824b9df59c9.tar.xz |
(svn r6822) -Fix r6821: add type for measure_strings_length[]
-rw-r--r-- | viewport.c | 2 |
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) |