- Fixed: GCC warnings.

SVN r2843 (trunk)
This commit is contained in:
Braden Obrzut 2010-09-21 20:35:40 +00:00
commit 15d74dab56
9 changed files with 16 additions and 15 deletions

View file

@ -80,9 +80,9 @@ void M_SaveCustomKeys (FConfigFile *config, char *section, char *subsection, siz
{
for (unsigned i=0; i<KeySections.Size(); i++)
{
mysnprintf (subsection, sublen, "%s.Bindings", KeySections[i].mSection);
mysnprintf (subsection, sublen, "%s.Bindings", KeySections[i].mSection.GetChars());
DoSaveKeys (config, section, &KeySections[i], false);
mysnprintf (subsection, sublen, "%s.DoubleBindings", KeySections[i].mSection);
mysnprintf (subsection, sublen, "%s.DoubleBindings", KeySections[i].mSection.GetChars());
DoSaveKeys (config, section, &KeySections[i], true);
}
}