summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/IniFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IniFile.cpp b/src/IniFile.cpp
index 1e5416813..4a1c8e735 100644
--- a/src/IniFile.cpp
+++ b/src/IniFile.cpp
@@ -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;
}