summaryrefslogtreecommitdiffstats
path: root/uemis-downloader.c
diff options
context:
space:
mode:
authorGravatar Marcos CARDINOT <mcardinot@gmail.com>2015-03-19 17:20:03 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-19 13:48:21 -0700
commitb31e192da19227e4c850e92aa93030c53a8b2813 (patch)
tree7e55053da21c194f440b8265140197af2963e29d /uemis-downloader.c
parentff860b3c044a0e6b79d9e5eff0fd4efb31316edc (diff)
downloadsubsurface-b31e192da19227e4c850e92aa93030c53a8b2813.tar.gz
uemis-downloader - arguments in wrong order
method's signature: void uemis_set_divelocation(int divespot, char *text, double longitude, double latitude) Signed-off-by: Marcos CARDINOT <mcardinot@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'uemis-downloader.c')
-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)