changeset 11573 | e9ee87b28e17 |
parent 11572 | 836af7d4af69 |
child 12877 | 00215a7ec5f5 |
--- a/project_files/HedgewarsMobile/Classes/IniParser.m Tue Feb 23 00:29:46 2016 +0100 +++ b/project_files/HedgewarsMobile/Classes/IniParser.m Tue Feb 23 00:41:18 2016 +0100 @@ -51,6 +51,7 @@ [self parseLine:line]; } }]; + [self addLastParsedSectionToSections]; return [self copyParsedSections]; } @@ -101,6 +102,10 @@ } } +- (void)addLastParsedSectionToSections { + [self addPreviousSectionToSectionsIfNecessary]; +} + - (NSArray *)copyParsedSections { return [self.mutableSections copy]; }