(svn r15085) -Fix (r14164): Clearing a settings group did not delete old items nor reset the last_item pointer, causing lists to not be saved unless they started blank.

This commit is contained in:
2009-01-14 20:23:45 +00:00
parent 3cd6bf0ead
commit 7d70f0cd14
3 changed files with 16 additions and 7 deletions

View File

@@ -64,6 +64,11 @@ struct IniGroup {
* @return the requested item or NULL if not found.
*/
IniItem *GetItem(const char *name, bool create);
/**
* Clear all items in the group
*/
void Clear();
};
/** The complete ini file. */