Changeset - r13025:49d301c3f444
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2009-09-13 23:30:29
smatz@openttd.org
(svn r17533) -Fix: missing 'const'
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/driver.h
Show inline comments
 
@@ -65,7 +65,7 @@ private:
 

	
 
	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];
 
	}
 

	
0 comments (0 inline, 0 general)