1
0
Fork 0

Merge pull request #2969 from LogicParrot/ini

Ignore trailing and leading spaces in INI values
This commit is contained in:
LogicParrot 2016-02-08 00:33:16 +02:00
commit aefacbd3cd
1 changed files with 1 additions and 1 deletions

View File

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