1
0
Fork 0

Fred: replace the C++ sthe 'and' by the C style '&&' for compatibility.

This commit is contained in:
ehofman 2005-10-27 08:23:28 +00:00
parent 2fd0269662
commit d31a1f708c

View file

@ -365,7 +365,7 @@ TACAN::searchChannel (const string& _channel){
frequency_khz = freq->get_freq(); frequency_khz = freq->get_freq();
SG_LOG( SG_INSTR, SG_DEBUG, "freq output " << frequency_khz ); SG_LOG( SG_INSTR, SG_DEBUG, "freq output " << frequency_khz );
//check sanity //check sanity
if (frequency_khz >9620 and frequency_khz <= 12130)return frequency_khz/100; if (frequency_khz >9620 && frequency_khz <= 12130)return frequency_khz/100;
} }
return frequency_khz = 0; return frequency_khz = 0;
} // end TACAN::searchChannel } // end TACAN::searchChannel