]> git.mxchange.org Git - flightgear.git/commit
Patch from Melchior Franz:
authordavid <david>
Sat, 30 Mar 2002 12:50:01 +0000 (12:50 +0000)
committerdavid <david>
Sat, 30 Mar 2002 12:50:01 +0000 (12:50 +0000)
commitce4ea1d432c708a273fc1f3c5b054d6f70376ff0
treee9b1266c480e4efb923516c44b04454fff38d336
parent57bccb1827b98b2a13aceb160d9465c92e36dbb1
Patch from Melchior Franz:

- merged the _MWERKS_ and the generic branch, only the loop head needs
  different treatment
- created a constructor; the operator>> wouldn't have initialized all
  variables in case of a broken default.fix.gz entry, so we would have
  got a mixture of the broken one and the previous one; (valgrind
  complained ...)
- move the automatic FGFix variable into the loop, so that the gets
  cleanly constructed for every database entry.
- don't access fix.type before it is initialized
- updated the commented out debug output statements (they were copied
  over from navlist.cxx but never adapted)
src/Navaids/fix.hxx
src/Navaids/fixlist.cxx