]> git.mxchange.org Git - flightgear.git/commit
Patch from Melchior Franz:
authordavid <david>
Sat, 30 Mar 2002 12:51:42 +0000 (12:51 +0000)
committerdavid <david>
Sat, 30 Mar 2002 12:51:42 +0000 (12:51 +0000)
commit50e25151e1bba447fe24c356a95d53f326863007
tree946118b4dd542d6a4787626c2ece885d5938855e
parent1ba6272e3c3dc97ded0a8b1e46260e846e942c9b
Patch from Melchior Franz:

My last patch fixed the initialization problem only for the main branch, but
ignored the _MWERKS_ branch.
- merged the branches, only the loop head needs different treatment;
- don't access n.type before it is initialized (valgrind complaint)
- created a constructor; the operator>> wouldn't have initialized all
  variables in case of a broken default.nav.gz entry, so we would have
  got a mixture of the broken one and the previous one; in case of
  the first entry, that would have made nice random values ... ;-)
- move the automatic FGNav variable into the loop, so that the gets
  cleanly constructed for every database entry.
- commented out the frequency min/max exploration, which isn't used at all
- updated the commented out debug output statements, which were simply
  copied over from the nav* files, but never adapted (I needed them :-)
src/Navaids/ils.hxx
src/Navaids/ilslist.cxx
src/Navaids/nav.hxx
src/Navaids/navlist.cxx