Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5319 in orxonox.OLD for trunk/src/lib/util


Ignore:
Timestamp:
Oct 8, 2005, 3:10:38 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some minor file-handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/util/ini_parser.cc

    r5169 r5319  
    119119    char* ptr;
    120120
    121     while( !feof( stream))
    122     {
    123       // get next line
    124       fgets (lineBuffer, PARSELINELENGHT, stream);
     121    while( fgets (lineBuffer, PARSELINELENGHT, stream))
     122    {
    125123      lineBegin = lineBuffer;
    126124      // remove newline char, and \0-terminate
Note: See TracChangeset for help on using the changeset viewer.