Changeset 6422 for code/trunk/src/libraries/core/Game.cc
- Timestamp:
- Dec 26, 2009, 11:18:13 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/Game.cc
r6417 r6422 445 445 { 446 446 int indentation = 0; 447 while (pos < str.size() && str[pos] == ' ')447 while (pos < str.size() && str[pos] == ' ') 448 448 ++indentation, ++pos; 449 449 startPos = pos; 450 while (pos < str.size() && str[pos] != ' ')450 while (pos < str.size() && str[pos] != ' ') 451 451 ++pos; 452 452 stateStrings.push_back(std::make_pair(str.substr(startPos, pos - startPos), indentation));
Note: See TracChangeset
for help on using the changeset viewer.