author | truelight |
Thu, 31 Aug 2006 19:29:24 +0000 | |
changeset 4500 | 426d0baa1be5 |
parent 4499 | c57155fea7a5 |
child 4501 | 16ca2f0e465e |
waypoint.c | file | annotate | diff | comparison | revisions |
--- a/waypoint.c Thu Aug 31 19:15:01 2006 +0000 +++ b/waypoint.c Thu Aug 31 19:29:24 2006 +0000 @@ -264,7 +264,7 @@ /* Check if we need to delete a waypoint */ FOR_ALL_WAYPOINTS(wp) { - if (wp->deleted != 0 && --wp->deleted == 0) DestroyWaypoint(wp); + if (wp->deleted != 0 && --wp->deleted == 0) DeleteWaypoint(wp); } }