summaryrefslogtreecommitdiffstats
path: root/src/IniFile.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-28 19:42:35 +0100
committerMattes D <github@xoft.cz>2014-10-28 19:42:35 +0100
commit6a1a76e73d0b35adbdc6284f1ec36d171adda157 (patch)
treed91ad7a2c9ab4ab611b7598732d61669d5742019 /src/IniFile.cpp
parentQtBiomeVisualiser: Attempt at fixing Linux compilation. (diff)
parentQtBiomeVisualiser: Fixed compilation on Linux. (diff)
downloadcuberite-6a1a76e73d0b35adbdc6284f1ec36d171adda157.tar
cuberite-6a1a76e73d0b35adbdc6284f1ec36d171adda157.tar.gz
cuberite-6a1a76e73d0b35adbdc6284f1ec36d171adda157.tar.bz2
cuberite-6a1a76e73d0b35adbdc6284f1ec36d171adda157.tar.lz
cuberite-6a1a76e73d0b35adbdc6284f1ec36d171adda157.tar.xz
cuberite-6a1a76e73d0b35adbdc6284f1ec36d171adda157.tar.zst
cuberite-6a1a76e73d0b35adbdc6284f1ec36d171adda157.zip
Diffstat (limited to 'src/IniFile.cpp')
-rw-r--r--src/IniFile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/IniFile.cpp b/src/IniFile.cpp
index a666a4ff8..ded7e4199 100644
--- a/src/IniFile.cpp
+++ b/src/IniFile.cpp
@@ -9,7 +9,7 @@
// Email: Shane.Hill@dsto.defence.gov.au
// Reason: Remove dependancy on MFC. Code should compile on any
// platform.
-//////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////////
/*
!! MODIFIED BY FAKETRUTH and xoft !!
@@ -79,7 +79,7 @@ bool cIniFile::ReadFile(const AString & a_FileName, bool a_AllowExampleRedirect)
}
}
- bool IsFirstLine = true;
+ bool IsFirstLine = true;
while (getline(f, line))
{
@@ -866,7 +866,7 @@ AString cIniFile::CheckCase(const AString & s) const
void cIniFile::RemoveBom(AString & a_line) const
{
- // The BOM sequence for UTF-8 is 0xEF,0xBB,0xBF
+ // The BOM sequence for UTF-8 is 0xEF, 0xBB, 0xBF
static unsigned const char BOM[] = { 0xEF, 0xBB, 0xBF };
// The BOM sequence, if present, is always th e first three characters of the input.