19.12.2010 - variables and structs, fixed consoleand interfaces
This commit is contained in:
@@ -236,7 +236,8 @@ void PIConfig::parse() {
|
||||
sind = str.find('#');
|
||||
if (sind > 0) {
|
||||
comm = str.right(str.size() - sind - 1).trimmed();
|
||||
setttype.push_back(comm[0]);
|
||||
if (comm.length() > 0) setttype.push_back(comm[0]);
|
||||
else setttype.push_back("s");
|
||||
comm = comm.right(comm.size() - 1).trimmed();
|
||||
settcom.push_back(comm);
|
||||
str = str.left(sind);
|
||||
|
||||
Reference in New Issue
Block a user