mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r17533) -Fix: missing 'const'
This commit is contained in:
parent
ebd916be3d
commit
d96333b7c3
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue