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