summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)