(Frederic Bouvier) avoid gcc'ism
This commit is contained in:
parent
550352c0b6
commit
4732b96861
1 changed files with 2 additions and 1 deletions
|
@ -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 ";
|
||||||
|
|
Loading…
Add table
Reference in a new issue