changeset 4885:cca85e1d2b41 draft

(svn r6822) -Fix r6821: add type for measure_strings_length[]
author glx <glx@openttd.org>
date Wed, 18 Oct 2006 14:42:19 +0000
parents 66565374d3a9
children 18471e090f35
files viewport.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/viewport.c
+++ b/viewport.c
@@ -2110,7 +2110,7 @@
 	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)