19.12.2010 - variables and structs, fixed consoleand interfaces
This commit is contained in:
@@ -101,7 +101,8 @@ PIString & PIString::trim() {
|
||||
for (int i = length() - 1; i >= 0; --i)
|
||||
if (at(i) != ' ' && at(i) != '\t')
|
||||
{fn = i; break;}
|
||||
return cutMid(st, fn - st + 1);
|
||||
*this = mid(st, fn - st + 1);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user