changeset 13035:5c7bae21e898 draft

(svn r17533) -Fix: missing 'const'
author smatz <smatz@openttd.org>
date Sun, 13 Sep 2009 23:30:29 +0000
parents 6eb3f749890a
children 8e2a0e8fa275
files src/driver.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/driver.h
+++ b/src/driver.h
@@ -65,7 +65,7 @@
 
 	static const char *GetDriverTypeName(Driver::Type type)
 	{
-		static const char *driver_type_name[] = { "sound", "music", "video" };
+		static const char * const driver_type_name[] = { "sound", "music", "video" };
 		return driver_type_name[type];
 	}