summaryrefslogtreecommitdiff
path: root/src/ini_type.h
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/ini_type.h
parente07efc2370b0c846f792a4f5d3f8695c21895583 (diff)
downloadopenttd-114d48e492cc38644c0c020c6a30ab6c57179862.tar.xz
(svn r17596) -Codechange: constify some tables
Diffstat (limited to 'src/ini_type.h')
-rw-r--r--src/ini_type.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ini_type.h b/src/ini_type.h
index 2ee914629..45cd75b00 100644
--- a/src/ini_type.h
+++ b/src/ini_type.h
@@ -80,17 +80,17 @@ struct IniGroup {
/** The complete ini file. */
struct IniFile {
- IniGroup *group; ///< the first group in the ini
- IniGroup **last_group; ///< the last group in the ini
- char *comment; ///< last comment in file
- const char **list_group_names; ///< NULL terminated list with group names that are lists
+ IniGroup *group; ///< the first group in the ini
+ IniGroup **last_group; ///< the last group in the ini
+ char *comment; ///< last comment in file
+ const char * const *list_group_names; ///< NULL terminated list with group names that are lists
/**
* Construct a new in-memory Ini file representation.
* @param list_group_names A NULL terminated list with groups that should be
* loaded as lists instead of variables.
*/
- IniFile(const char **list_group_names = NULL);
+ IniFile(const char * const *list_group_names = NULL);
/** Free everything we loaded. */
~IniFile();