]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/preset_dlg.cxx
Don't restore initial screen geometry because there is nothing in fg_os* to resize...
[flightgear.git] / src / GUI / preset_dlg.cxx
index 48cd66457f30baaa51c81163b26753a0ba3c63a9..678ca65c38c9afa2065ddebb5be2c8d7753764de 100644 (file)
@@ -2,7 +2,7 @@
 //
 // Written by Curtis Olson, started November 2002.
 //
-// Copyright (C) 2002  Curtis L. Olson  - curt@flightgear.org
+// Copyright (C) 2002  Curtis L. Olson  - http://www.flightgear.org/~curt
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -16,7 +16,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 // $Id$
 
@@ -31,7 +31,7 @@
 #  include <windows.h>
 #endif
 
-#include <simgear/misc/commands.hxx>
+#include <simgear/structure/commands.hxx>
 #include <simgear/misc/sg_path.hxx>
 
 #include <Main/fg_props.hxx>
@@ -229,9 +229,9 @@ void fgPresetAirspeed(puObject *cb)
 void fgPresetCommit(puObject *)
 {
     SGPropertyNode args;
-    if ( !globals->get_commands()->execute("presets_commit", &args) )
+    if ( !globals->get_commands()->execute("presets-commit", &args) )
     {
-        SG_LOG( SG_GENERAL, SG_ALERT, "Command: presets_commit failed.");
+        SG_LOG( SG_GENERAL, SG_ALERT, "Command: presets-commit failed.");
     }
 }