X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Ffg_commands.cxx;h=70ceb23b5fd3d2326c18c6fe4c9258461fdf57b7;hb=b587400846111cc4d6713dcdd38b715c97923d5a;hp=151efa2075a58360389bfb1466d735ecddbc0ead;hpb=f9445874a02689cbd9a0197c5aac7ffeab1436ac;p=flightgear.git diff --git a/src/Main/fg_commands.cxx b/src/Main/fg_commands.cxx index 151efa207..70ceb23b5 100644 --- a/src/Main/fg_commands.cxx +++ b/src/Main/fg_commands.cxx @@ -189,7 +189,7 @@ do_exit (const SGPropertyNode * arg) fgSetBool("/sim/signals/exit", true); if (fgGetBool("/sim/startup/save-on-exit")) { -#ifdef _MSC_VER +#ifdef _WIN32 char* envp = ::getenv( "APPDATA" ); if ( envp != NULL ) { SGPath config( envp ); @@ -1260,7 +1260,7 @@ do_play_audio_sample (const SGPropertyNode * arg) static FGSampleQueue *queue = 0; if ( !queue ) { SGSoundMgr *smgr = globals->get_soundmgr(); - queue = new FGSampleQueue(smgr, "queue"); + queue = new FGSampleQueue(smgr, "chatter"); queue->tie_to_listener(); } @@ -1596,9 +1596,9 @@ static struct { void fgInitCommands () { - SG_LOG(SG_GENERAL, SG_INFO, "Initializing basic built-in commands:"); + SG_LOG(SG_GENERAL, SG_BULK, "Initializing basic built-in commands:"); for (int i = 0; built_ins[i].name != 0; i++) { - SG_LOG(SG_GENERAL, SG_INFO, " " << built_ins[i].name); + SG_LOG(SG_GENERAL, SG_BULK, " " << built_ins[i].name); globals->get_commands()->addCommand(built_ins[i].name, built_ins[i].command); }