diff options
author | Alexander Harkness <bearbin@gmail.com> | 2014-10-27 22:34:02 +0100 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2014-10-27 22:34:02 +0100 |
commit | a4932bbd8b08ed2f5d6de94fcfcc4d10484c45a2 (patch) | |
tree | ba126ff3b50193edb890dd02da4b128e90f99c47 /src/IniFile.cpp | |
parent | Another one.# (diff) | |
download | cuberite-a4932bbd8b08ed2f5d6de94fcfcc4d10484c45a2.tar cuberite-a4932bbd8b08ed2f5d6de94fcfcc4d10484c45a2.tar.gz cuberite-a4932bbd8b08ed2f5d6de94fcfcc4d10484c45a2.tar.bz2 cuberite-a4932bbd8b08ed2f5d6de94fcfcc4d10484c45a2.tar.lz cuberite-a4932bbd8b08ed2f5d6de94fcfcc4d10484c45a2.tar.xz cuberite-a4932bbd8b08ed2f5d6de94fcfcc4d10484c45a2.tar.zst cuberite-a4932bbd8b08ed2f5d6de94fcfcc4d10484c45a2.zip |
Diffstat (limited to 'src/IniFile.cpp')
-rw-r--r-- | src/IniFile.cpp | 6 |
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. |