summaryrefslogtreecommitdiff
path: root/src/ini_type.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2011-03-03 20:55:06 +0000
committeralberth <alberth@openttd.org>2011-03-03 20:55:06 +0000
commit6a88af662bdca19e1a9cc90f0a00c80496d79b98 (patch)
tree55e357be64c4829e4c5a03f350c21d45ebee2801 /src/ini_type.h
parent722296e79747610b7822c07f2edd908563456d92 (diff)
downloadopenttd-6a88af662bdca19e1a9cc90f0a00c80496d79b98.tar.xz
(svn r22169) -Add: Add parameter to disable automatic group creation in IniLoadFile::GetGroup().
Diffstat (limited to 'src/ini_type.h')
-rw-r--r--src/ini_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ini_type.h b/src/ini_type.h
index b84f7adf6..6aad2648b 100644
--- a/src/ini_type.h
+++ b/src/ini_type.h
@@ -57,7 +57,7 @@ struct IniLoadFile {
IniLoadFile(const char * const *list_group_names = NULL);
virtual ~IniLoadFile();
- IniGroup *GetGroup(const char *name, size_t len = 0);
+ IniGroup *GetGroup(const char *name, size_t len = 0, bool create_new = true);
void RemoveGroup(const char *name);
void LoadFromDisk(const char *filename);