From: Kaj-Michael Lang Date: Fri, 10 Aug 2007 08:01:07 +0000 (+0300) Subject: Init location helper fields. Include gpx.h X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc368005368784a019f1e0e40bb6eba39ca59794;p=mapper Init location helper fields. Include gpx.h --- diff --git a/src/map.c b/src/map.c index 2fafe43..00839e4 100644 --- a/src/map.c +++ b/src/map.c @@ -37,6 +37,7 @@ #include "ui-common.h" #include "settings.h" #include "latlon.h" +#include "gpx.h" Point _min_center = { -1, -1 }; Point _max_center = { -1, -1 }; @@ -60,7 +61,7 @@ static gint _map_mode=0; guint _num_downloads=0; guint _curr_download=0; -static osm_location map_loc = {NULL, NULL, NULL, FALSE, FALSE, 0, 0}; +static osm_location map_loc = {NULL, NULL, NULL, FALSE, FALSE, 0, 0, 0.0, 0.0 }; static GHashTable *map_tile_hash = NULL; typedef struct _map_tile_rdata map_tile_rdata;