From d31a1f708c2a87e89d2b8cee1d1447a03ad4e493 Mon Sep 17 00:00:00 2001 From: ehofman Date: Thu, 27 Oct 2005 08:23:28 +0000 Subject: [PATCH] Fred: replace the C++ sthe 'and' by the C style '&&' for compatibility. --- src/Instrumentation/tacan.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Instrumentation/tacan.cxx b/src/Instrumentation/tacan.cxx index 279d33c4c..93dd2576b 100755 --- a/src/Instrumentation/tacan.cxx +++ b/src/Instrumentation/tacan.cxx @@ -365,7 +365,7 @@ TACAN::searchChannel (const string& _channel){ frequency_khz = freq->get_freq(); SG_LOG( SG_INSTR, SG_DEBUG, "freq output " << frequency_khz ); //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; } // end TACAN::searchChannel