(svn r6822) -Fix r6821: add type for measure_strings_length[]
authorglx
Wed, 18 Oct 2006 14:42:19 +0000
changeset 4885 c9fe8c52fd50
parent 4884 895f06b87934
child 4886 d89110a382ae
(svn r6822) -Fix r6821: add type for measure_strings_length[]
viewport.c
--- a/viewport.c	Wed Oct 18 14:20:10 2006 +0000
+++ b/viewport.c	Wed Oct 18 14:42:19 2006 +0000
@@ -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)