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 | e1fec27445b7f40ba15eb24383aeeb4f9d3f830d (patch) | |
tree | 1790b6916e10897d9cd8d25f8b42083c4a32bc45 /viewport.c | |
parent | 5e248781a8509ef59c681636175f4832023ae77f (diff) | |
download | openttd-e1fec27445b7f40ba15eb24383aeeb4f9d3f830d.tar.xz |
(svn r6822) -Fix r6821: add type for measure_strings_length[]
Diffstat (limited to 'viewport.c')
-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) |