Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 2, 2006, 1:09:56 AM (18 years ago)
Author:
rennerc
Message:

added CmdLinePrefsReader and IniFilePrefsReader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/preferences/src/lib/util/preferences.cc

    r6381 r6383  
    5959      std::list<prefItem>::const_iterator it2 = it->items.begin();
    6060
    61       for ( ; it2!=it->items.begin(); it2++)
     61      for ( ; it2!=it->items.end(); it2++)
    6262      {
    6363        if ( strcmp(it2->name, name) == 0 )
     
    157157      std::list<prefItem>::iterator it2 = it->items.begin();
    158158
    159       for ( ; it2!=it->items.begin(); it2++)
     159      for ( ; it2!=it->items.end(); it2++)
    160160      {
    161161        if ( strcmp(it2->name, name) == 0 )
     
    203203      std::list<prefItem>::const_iterator it2 = it->items.begin();
    204204
    205       for ( ; it2!=it->items.begin(); it2++)
     205      for ( ; it2!=it->items.end(); it2++)
    206206      {
    207207        if ( strcmp(it2->name, name) == 0 )
     
    230230    std::list<prefItem>::iterator it2 = it->items.begin();
    231231
    232     for ( ; it2!=it->items.begin(); it2++)
     232    for ( ; it2!=it->items.end(); it2++)
    233233    {
    234234      PRINTF(0)("--> %s = '%s'\n", it2->name, it2->value.getString());
Note: See TracChangeset for help on using the changeset viewer.