]> err.no Git - mapper/commitdiff
Path: Use new function name
authorKaj-Michael Lang <milang@tal.org>
Mon, 21 Jul 2008 09:29:54 +0000 (12:29 +0300)
committerKaj-Michael Lang <milang@tal.org>
Mon, 21 Jul 2008 09:29:54 +0000 (12:29 +0300)
src/cb.c

index 1bcef4fff3d936defcd7aab2d49ea79447c77dca..69d2745a51d8c216db45f9352e833c74e33e332e 100644 (file)
--- a/src/cb.c
+++ b/src/cb.c
@@ -1106,7 +1106,7 @@ gdouble lat, lon;
 
 gtk_map_get_menu_latlon(_map, &lat, &lon);
 
-if ((way = route_find_nearest_waypoint(_route, lat, lon)))
+if ((way = path_find_nearest_waypoint(_route, lat, lon)))
        route_show_distance_to(_route, way->point);
 
 return TRUE;