changeset 11715:9c86f6b74c1c draft

(svn r16103) -Fix (r11429): missing const
author smatz <smatz@openttd.org>
date Mon, 20 Apr 2009 21:30:34 +0000
parents ebe050cf807b
children deffca83aa7e
files src/newgrf.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -259,7 +259,7 @@
 StringID MapGRFStringID(uint32 grfid, StringID str)
 {
 	/* StringID table for TextIDs 0x4E->0x6D */
-	static StringID units_volume[] = {
+	static const StringID units_volume[] = {
 		STR_NOTHING,    STR_PASSENGERS, STR_TONS,       STR_BAGS,
 		STR_LITERS,     STR_ITEMS,      STR_CRATES,     STR_TONS,
 		STR_TONS,       STR_TONS,       STR_TONS,       STR_BAGS,