Changeset 973 for cpp/frams/param/multiparamload.cpp
- Timestamp:
- 07/03/20 00:37:13 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/param/multiparamload.cpp
r720 r973 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-20 18Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2020 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 158 158 } 159 159 buf = trim(buf); 160 if (buf.len () == 0)161 unexpected_line = 0; 162 else if ((buf.len () > 1) && (buf[buf.len() - 1] == ':'))160 if (buf.length() == 0) 161 unexpected_line = 0; 162 else if ((buf.length() > 1) && (buf[buf.length() - 1] == ':')) 163 163 { 164 164 unexpected_line = 0; 165 165 lastunknown = 0; 166 lastunknown = buf.substr(0, buf.len () - 1);166 lastunknown = buf.substr(0, buf.length() - 1); 167 167 lastobject.setEmpty(); 168 168 FOREACH(ExtObject*, o, objects) … … 193 193 thisfilename ? SString::sprintf(" while reading '%s'", thisfilename).c_str() : ""); 194 194 } 195 195 break; 196 196 197 197 case 1: … … 293 293 if (stat == OnError) 294 294 { 295 abort();296 return 0;295 abort(); 296 return 0; 297 297 } 298 298 return 1;
Note: See TracChangeset
for help on using the changeset viewer.