Changeset 5022 in orxonox.OLD for orxonox/trunk/src/lib
- Timestamp:
- Aug 15, 2005, 12:16:53 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/util/ini_parser.cc
r5021 r5022 154 154 while ((*valueBegin == ' ' || *valueBegin == '\t') && valueBegin <= lineBegin + strlen(lineBegin)) 155 155 ++valueBegin; 156 char* valueEnd = valueBegin + strlen(valueBegin)-1; 157 while ((*valueEnd == ' ' || *valueEnd == '\t') && valueEnd >= valueBegin) 158 --valueEnd; 159 valueEnd[1] = '\0'; 156 160 char* nameEnd = ptr-1; 157 161 while ((*nameEnd == ' ' || *nameEnd == '\t' ) && nameEnd >= lineBegin)
Note: See TracChangeset
for help on using the changeset viewer.