From: curt Date: Sat, 14 Aug 1999 22:07:15 +0000 (+0000) Subject: minor tweaks X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=82da5182555bffa6889bae4afbd58d4efa33ee53;p=flightgear.git minor tweaks --- diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 2c9124f29..78418ce72 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -190,7 +190,7 @@ bool fgInitGeneral( void ) { << "being defined." ); exit(-1); } - FG_LOG( FG_GENERAL, FG_INFO, "FG_ROOT = " << root << endl ); + FG_LOG( FG_GENERAL, FG_INFO, "FG_ROOT = " << '"' << root << '"' << endl ); #if defined(FX) && defined(XMESA) // initialize full screen flag diff --git a/src/Main/main.cxx b/src/Main/main.cxx index fb670beb2..2ee9a89ba 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -862,8 +862,8 @@ static void fgIdleFunction ( void ) { pitch_envelope.setStep ( 0, 0.01, 0.6 ); volume_envelope.setStep ( 0, 0.01, 0.6 ); - audio_sched -> addSampleEnvelope( s1, 0, 0, & - pitch_envelope, + audio_sched -> addSampleEnvelope( s1, 0, 0, + &pitch_envelope, SL_PITCH_ENVELOPE ); audio_sched -> addSampleEnvelope( s1, 0, 1, &volume_envelope,