//
// 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
# 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>
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.");
}
}