]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/preset_dlg.cxx
Fix the nmea and garmin output to a) fake a GSA sentence, b) fix a y2k bug
[flightgear.git] / src / GUI / preset_dlg.cxx
index 48cd66457f30baaa51c81163b26753a0ba3c63a9..d13ad4787b36c15114cacba18070a4a68755ce10 100644 (file)
@@ -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.");
     }
 }