From cc368005368784a019f1e0e40bb6eba39ca59794 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Fri, 10 Aug 2007 11:01:07 +0300 Subject: [PATCH] Init location helper fields. Include gpx.h --- src/map.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5