Ignore trailing and leading spaces in INI values# Please enter the commit message for your changes. Lines starting
This commit is contained in:
parent
cb28aaface
commit
e51a139035
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user