diff options
author | smatz <smatz@openttd.org> | 2009-09-20 23:11:01 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-09-20 23:11:01 +0000 |
commit | 114d48e492cc38644c0c020c6a30ab6c57179862 (patch) | |
tree | 80044362459c1f30b75b8eb8d9020f318d3ce5fb /src/settings.cpp | |
parent | e07efc2370b0c846f792a4f5d3f8695c21895583 (diff) | |
download | openttd-114d48e492cc38644c0c020c6a30ab6c57179862.tar.xz |
(svn r17596) -Codechange: constify some tables
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 4 |
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 } }; |