summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-11 20:10:50 +0100
committermadmaxoft <github@xoft.cz>2014-01-11 20:10:50 +0100
commit7739238d3d5d7778b3f9239f5b12fa101c8ac13d (patch)
tree480e308e88b463bfd7d56a5b3efd8daf7f6ba4b7
parentDocumented the cIniFile:AddValue* functions. (diff)
downloadcuberite-7739238d3d5d7778b3f9239f5b12fa101c8ac13d.tar
cuberite-7739238d3d5d7778b3f9239f5b12fa101c8ac13d.tar.gz
cuberite-7739238d3d5d7778b3f9239f5b12fa101c8ac13d.tar.bz2
cuberite-7739238d3d5d7778b3f9239f5b12fa101c8ac13d.tar.lz
cuberite-7739238d3d5d7778b3f9239f5b12fa101c8ac13d.tar.xz
cuberite-7739238d3d5d7778b3f9239f5b12fa101c8ac13d.tar.zst
cuberite-7739238d3d5d7778b3f9239f5b12fa101c8ac13d.zip
Diffstat (limited to '')
-rw-r--r--lib/inifile/iniFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inifile/iniFile.cpp b/lib/inifile/iniFile.cpp
index c1fd9c929..afa1c110d 100644
--- a/lib/inifile/iniFile.cpp
+++ b/lib/inifile/iniFile.cpp
@@ -137,7 +137,7 @@ bool cIniFile::ReadFile(const AString & a_FileName, bool a_AllowExampleRedirect)
{
valuename = line.substr(0, pLeft);
value = line.substr(pLeft + 1);
- SetValue(keyname, valuename, value);
+ AddValue(keyname, valuename, value);
break;
}