summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--uemis-downloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uemis-downloader.c b/uemis-downloader.c
index 7b5a93a36..3f2225357 100644
--- a/uemis-downloader.c
+++ b/uemis-downloader.c
@@ -635,7 +635,7 @@ static void parse_divespot(char *buf)
latitude = ascii_strtod(val, NULL);
}
} while (tag && *tag);
- uemis_set_divelocation(divespot, locationstring, latitude, longitude);
+ uemis_set_divelocation(divespot, locationstring, longitude, latitude);
}
static void track_divespot(char *val, int diveid, uint32_t dive_site_uuid)