made input config file valid XML by adding a global container tag

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3327 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2009-03-31 15:14:23 +00:00
parent 17fbf73334
commit ac211ab6de

View File

@ -183,6 +183,8 @@ void DeviceManager::serialize()
}
configfile << "<input>\n\n";
for(unsigned int n=0; n<m_keyboard_amount; n++)
{
m_keyboards[n].serialize(configfile);
@ -192,5 +194,7 @@ void DeviceManager::serialize()
m_gamepads[n].serialize(configfile);
}
configfile << "</input>\n";
configfile.close();
}