summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-01 23:11:41 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-01 23:11:41 -0800
commit51d20880210d990e35982137067cda1801460d0a (patch)
treebcbd7c015a526e900d4ae72c9748cbd0d1fb72d0 /main.c
parentf7d373bae64627e25dcca219f81362c9f1d1b508 (diff)
parentd1c394e51f7ab792650246dff74677609a9e7ea8 (diff)
downloadsubsurface-51d20880210d990e35982137067cda1801460d0a.tar.gz
Merge branch 'map-providers'
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.c b/main.c
index fd5c78e82..3b6e00449 100644
--- a/main.c
+++ b/main.c
@@ -10,6 +10,9 @@
#include "dive.h"
#include "divelist.h"
+#if HAVE_OSM_GPS_MAP
+#include <osm-gps-map.h>
+#endif
#ifdef DEBUGFILE
char *debugfilename;
FILE *debugfile;
@@ -35,6 +38,9 @@ struct preferences default_prefs = {
.calc_ceiling_3m_incr = FALSE,
.gflow = 0.30,
.gfhigh = 0.75,
+#if HAVE_OSM_GPS_MAP
+ .map_provider = OSM_GPS_MAP_SOURCE_VIRTUAL_EARTH_HYBRID,
+#endif
};
/* random helper functions, used here or elsewhere */