From d403c2e5686a8ec4ebd6532e57f18f877b075db8 Mon Sep 17 00:00:00 2001
From: david <david>
Date: Tue, 13 May 2003 14:15:30 +0000
Subject: [PATCH] The lookup method was always skipping the first ILS for any
 frequency -- I discovered the problem while puzzling over an LOC that
 wouldn't come in.

---
 src/Navaids/ilslist.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Navaids/ilslist.cxx b/src/Navaids/ilslist.cxx
index 2892130f2..0c278989b 100644
--- a/src/Navaids/ilslist.cxx
+++ b/src/Navaids/ilslist.cxx
@@ -137,7 +137,7 @@ FGILS *FGILSList::findByFreq( double freq,
     Point3D aircraft = sgGeodToCart( Point3D(lon, lat, elev) );
     Point3D station;
     double d2;
-    for ( unsigned int i = 1; i < stations.size(); ++i ) {
+    for ( unsigned int i = 0; i < stations.size(); ++i ) {
 	// cout << "  testing " << current->get_locident() << endl;
 	station = Point3D(stations[i]->get_x(), 
 			  stations[i]->get_y(),