]> git.mxchange.org Git - flightgear.git/commit
Fix an edge case in flight-plan inserts.
authorJames Turner <zakalawe@mac.com>
Tue, 26 Jun 2012 14:16:03 +0000 (15:16 +0100)
committerJames Turner <zakalawe@mac.com>
Tue, 26 Jun 2012 14:16:03 +0000 (15:16 +0100)
commit20071b66afd467bc87acea2e2c42cff90757f743
treec88efc5e0db13ef13d599c82c98c59090dbd03fe
parent08e72f8bfcb6889614d1e01833ee84cf9635ce14
Fix an edge case in flight-plan inserts.

When inserting with an invalid index, ensure we return the leg based on the fixed-up index, not the original one. Thanks to Matthias Götz for the catch!
src/Navaids/FlightPlan.cxx