give the root node a name so that it's valid XML
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
#include "RageFile.h"
|
||||
#include "Foreach.h"
|
||||
|
||||
IniFile::IniFile()
|
||||
{
|
||||
m_sName = "IniFile";
|
||||
}
|
||||
|
||||
bool IniFile::ReadFile( const CString &sPath )
|
||||
{
|
||||
m_sPath = sPath;
|
||||
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user