Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 21, 2006, 4:13:56 PM (18 years ago)
Author:
rennerc
Message:

converted char* in preferences to std::string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/preferences/src/lib/parser/preferences/ini_file_prefs_reader.cc

    r7234 r7236  
    2424 * standard constructor
    2525*/
    26 IniFilePrefsReader::IniFilePrefsReader ( const char * fileName )
     26IniFilePrefsReader::IniFilePrefsReader ( const std::string& fileName )
    2727{
    2828  IniParser iniParser;
     
    4141      prefs->setString( iniParser.getCurrentSection(), iniParser.getCurrentName(), iniParser.getCurrentValue(), true );
    4242    } while (iniParser.nextVar());
    43   } while (iniParser.nextSection()!=NULL);
     43  } while ( iniParser.nextSection() != "" );
    4444
    4545  /*iniParser.firstVar();
Note: See TracChangeset for help on using the changeset viewer.