summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-09-13 23:30:29 +0000
committersmatz <smatz@openttd.org>2009-09-13 23:30:29 +0000
commitd96333b7c3ad8a1cb940f51f5ce510393158a479 (patch)
tree2d8f477767694fe5ec9e8fd6638f9ea090d8fc7d
parentebd916be3def20902cf19ffd16555074728eb9c3 (diff)
downloadopenttd-d96333b7c3ad8a1cb940f51f5ce510393158a479.tar.xz
(svn r17533) -Fix: missing 'const'
-rw-r--r--src/driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver.h b/src/driver.h
index 7abd4c186..17019877e 100644
--- a/src/driver.h
+++ b/src/driver.h
@@ -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];
}