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