From a081ffe48e5c07505afaccde69dbdabe6f82054b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 20 Aug 2015 11:05:07 -0700 Subject: Always save taxonomy data, even if disabled in the prefs Otherwise, if one of the systems used with cloud storage doesn't have the preference for geo encoding enabled, the taxonomy data will be lost. Signed-off-by: Dirk Hohndel --- save-xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'save-xml.c') diff --git a/save-xml.c b/save-xml.c index 00f4626d3..67ae96a37 100644 --- a/save-xml.c +++ b/save-xml.c @@ -533,7 +533,7 @@ void save_dives_buffer(struct membuffer *b, const bool select_only) } show_utf8(b, ds->description, " description='", "'", 1); show_utf8(b, ds->notes, " notes='", "'", 1); - if (prefs.geocoding.enable_geocoding && ds->taxonomy.nr) { + if (ds->taxonomy.nr) { put_format(b, ">\n"); for (int j = 0; j < ds->taxonomy.nr; j++) { struct taxonomy *t = &ds->taxonomy.category[j]; -- cgit v1.2.3-70-g09d2