diff --git a/stepmania/src/IniFile.cpp b/stepmania/src/IniFile.cpp index bbf5c9ec11..e671b316f9 100644 --- a/stepmania/src/IniFile.cpp +++ b/stepmania/src/IniFile.cpp @@ -5,6 +5,11 @@ #include "RageFile.h" #include "Foreach.h" +IniFile::IniFile() +{ + m_sName = "IniFile"; +} + bool IniFile::ReadFile( const CString &sPath ) { m_sPath = sPath; diff --git a/stepmania/src/IniFile.h b/stepmania/src/IniFile.h index 6af164fa9d..857d4d16a8 100644 --- a/stepmania/src/IniFile.h +++ b/stepmania/src/IniFile.h @@ -16,6 +16,8 @@ private: mutable CString m_sError; public: + IniFile(); + /* Retrieve the filename of the last file loaded. */ CString GetPath() const { return m_sPath; } const CString &GetError() const { return m_sError; }