X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/ddc47a46f3a6b10f73c527d63beeaa0b18db980f..4f14a010d0a7d09721c32f0d35ffbeae05ea994c:/src/vikwaypoint.c diff --git a/src/vikwaypoint.c b/src/vikwaypoint.c index 87073e5a..57626671 100644 --- a/src/vikwaypoint.c +++ b/src/vikwaypoint.c @@ -24,11 +24,13 @@ #include "coords.h" #include "vikcoord.h" #include "vikwaypoint.h" +#include "globals.h" VikWaypoint *vik_waypoint_new() { VikWaypoint *wp = g_malloc ( sizeof ( VikWaypoint ) ); + wp->altitude = VIK_DEFAULT_ALTITUDE; wp->comment = NULL; wp->image = NULL; wp->symbol = NULL;