From f730a2864f4bd55fde94db0f6c68b824b9df59c9 Mon Sep 17 00:00:00 2001 From: glx Date: Wed, 18 Oct 2006 14:42:19 +0000 Subject: [PATCH] (svn r6822) -Fix r6821: add type for measure_strings_length[] --- viewport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viewport.c b/viewport.c index ba4a13b0a7..337f0b1342 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)