Changeset 7236 in orxonox.OLD for branches/preferences/src/lib/parser/preferences/ini_file_prefs_reader.cc
- Timestamp:
- Mar 21, 2006, 4:13:56 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/preferences/src/lib/parser/preferences/ini_file_prefs_reader.cc
r7234 r7236 24 24 * standard constructor 25 25 */ 26 IniFilePrefsReader::IniFilePrefsReader ( const char *fileName )26 IniFilePrefsReader::IniFilePrefsReader ( const std::string& fileName ) 27 27 { 28 28 IniParser iniParser; … … 41 41 prefs->setString( iniParser.getCurrentSection(), iniParser.getCurrentName(), iniParser.getCurrentValue(), true ); 42 42 } while (iniParser.nextVar()); 43 } while ( iniParser.nextSection()!=NULL);43 } while ( iniParser.nextSection() != "" ); 44 44 45 45 /*iniParser.firstVar();
Note: See TracChangeset
for help on using the changeset viewer.