summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-09-20 23:11:01 +0000
committersmatz <smatz@openttd.org>2009-09-20 23:11:01 +0000
commit114d48e492cc38644c0c020c6a30ab6c57179862 (patch)
tree80044362459c1f30b75b8eb8d9020f318d3ce5fb /src/settings.cpp
parente07efc2370b0c846f792a4f5d3f8695c21895583 (diff)
downloadopenttd-114d48e492cc38644c0c020c6a30ab6c57179862.tar.xz
(svn r17596) -Codechange: constify some tables
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index ba7cec8ad..6fed56818 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -86,7 +86,7 @@ static bool IsSignedVarMemType(VarType vt);
/**
* Groups in openttd.cfg that are actually lists.
*/
-static const char *_list_group_names[] = {
+static const char * const _list_group_names[] = {
"bans",
"newgrf",
"servers",
@@ -1256,7 +1256,7 @@ static void SaveVersionInConfig(IniFile *ini)
char version[9];
snprintf(version, lengthof(version), "%08X", _openttd_newgrf_version);
- const char *versions[][2] = {
+ const char * const versions[][2] = {
{ "version_string", _openttd_revision },
{ "version_number", version }
};