]> err.no Git - mapper/commitdiff
Use correct function name path_add_point
authorKaj-Michael Lang <milang@tal.org>
Wed, 21 May 2008 11:31:44 +0000 (14:31 +0300)
committerKaj-Michael Lang <milang@tal.org>
Wed, 21 May 2008 11:31:44 +0000 (14:31 +0300)
src/ui-common.c

index 12b87b5d022c6c292d44ee494847a06b4b3b6b0f..90f875f65ad6e23d0e4ac794a80bbf88a1c10e42 100644 (file)
@@ -830,7 +830,7 @@ gps_location_update(Gps *gps)
 {
 g_assert(gps);
 if (filter_check(&filter, &gps->data, &map_loc)==TRUE) {
-       if (path_add(_track, &_gps->data)) {
+       if (path_add_point(_track, &_gps->data)) {
                path_check_waypoint_announce(_route, &_gps->data);
 #if 0
                route_autoroute_check(_route);