]> git.mxchange.org Git - flightgear.git/commitdiff
Oops we tweaked the preset_commit command name, let's call it by it's
authorcurt <curt>
Fri, 17 Jan 2003 22:54:09 +0000 (22:54 +0000)
committercurt <curt>
Fri, 17 Jan 2003 22:54:09 +0000 (22:54 +0000)
correct name.

src/GUI/preset_dlg.cxx

index 48cd66457f30baaa51c81163b26753a0ba3c63a9..97e9f9803b9ac518e4bb1ae12722e95a2d77005d 100644 (file)
@@ -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.");
     }
 }