1
0
Fork 0

(Frederic Bouvier) avoid gcc'ism

This commit is contained in:
mfranz 2005-06-25 07:57:42 +00:00
parent 550352c0b6
commit 4732b96861

View file

@ -354,7 +354,7 @@ int main( int argc, char *argv[] ) {
} }
fstream fs; fstream fs;
fstream xfs[jss->getNumJoysticks()]; fstream *xfs = new fstream[jss->getNumJoysticks()];
if (!usexml) { if (!usexml) {
fs.open("fgfsrc.js",ios::out); fs.open("fgfsrc.js",ios::out);
} }
@ -470,6 +470,7 @@ int main( int argc, char *argv[] ) {
fs.close(); fs.close();
} }
delete jsi; delete jsi;
delete[] xfs;
delete jss; delete jss;
cout << "Your joystick settings are in "; cout << "Your joystick settings are in ";