give the root node a name so that it's valid XML

This commit is contained in:
Chris Danford
2005-01-26 09:13:24 +00:00
parent 914b8233ee
commit 9ab13ad4f2
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -5,6 +5,11 @@
#include "RageFile.h"
#include "Foreach.h"
IniFile::IniFile()
{
m_sName = "IniFile";
}
bool IniFile::ReadFile( const CString &sPath )
{
m_sPath = sPath;
+2
View File
@@ -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; }