1
0

Ignore trailing and leading spaces in INI values# Please enter the commit message for your changes. Lines starting

This commit is contained in:
LogicParrot 2016-02-05 19:55:16 +02:00
parent cb28aaface
commit e51a139035
2 changed files with 21 additions and 21 deletions

View File

@ -146,7 +146,7 @@ bool cIniFile::ReadFile(const AString & a_FileName, bool a_AllowExampleRedirect)
case '=': case '=':
{ {
valuename = line.substr(0, pLeft); valuename = line.substr(0, pLeft);
value = line.substr(pLeft + 1); value = TrimString(line.substr(pLeft + 1));
AddValue(keyname, valuename, value); AddValue(keyname, valuename, value);
break; break;
} }