summaryrefslogtreecommitdiffstats
path: root/lib/inifile/iniFile.h
diff options
context:
space:
mode:
authornarroo <narroo@vt.edu>2014-02-16 01:56:36 +0100
committernarroo <narroo@vt.edu>2014-02-16 01:56:36 +0100
commit8c34b2d9748311840a93f64494f56a5b1e81015f (patch)
treef137575cc5a8dbf00a1aca7a20aaa4bd79f017a2 /lib/inifile/iniFile.h
parentUpdated Plugin article (diff)
downloadcuberite-8c34b2d9748311840a93f64494f56a5b1e81015f.tar
cuberite-8c34b2d9748311840a93f64494f56a5b1e81015f.tar.gz
cuberite-8c34b2d9748311840a93f64494f56a5b1e81015f.tar.bz2
cuberite-8c34b2d9748311840a93f64494f56a5b1e81015f.tar.lz
cuberite-8c34b2d9748311840a93f64494f56a5b1e81015f.tar.xz
cuberite-8c34b2d9748311840a93f64494f56a5b1e81015f.tar.zst
cuberite-8c34b2d9748311840a93f64494f56a5b1e81015f.zip
Diffstat (limited to '')
-rw-r--r--lib/inifile/iniFile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/inifile/iniFile.h b/lib/inifile/iniFile.h
index 40af618dc..0bf1d917e 100644
--- a/lib/inifile/iniFile.h
+++ b/lib/inifile/iniFile.h
@@ -51,6 +51,8 @@ private:
/// If the object is case-insensitive, returns s as lowercase; otherwise returns s as-is
AString CheckCase(const AString & s) const;
+ /// Removes the UTF-8 BOMs (Byte order makers), if present.
+ void RemoveBom(AString & a_line) const;
public:
enum errors
{