Changeset 5319 in orxonox.OLD for trunk/src/lib/util
- Timestamp:
- Oct 8, 2005, 3:10:38 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/ini_parser.cc
r5169 r5319 119 119 char* ptr; 120 120 121 while( !feof( stream)) 122 { 123 // get next line 124 fgets (lineBuffer, PARSELINELENGHT, stream); 121 while( fgets (lineBuffer, PARSELINELENGHT, stream)) 122 { 125 123 lineBegin = lineBuffer; 126 124 // remove newline char, and \0-terminate
Note: See TracChangeset
for help on using the changeset viewer.