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-04-30 07:41:03 -0700
commit3255a8e6079be2382e7758a942d93737c1a4aefd (patch)
treee06e63d9c68f5f8dfb1bfd61239891b2bcf04760 /uemis-downloader.c
parentcafef4614fef5275507520309b562eda4ccc00a5 (diff)
downloadsubsurface-3255a8e6079be2382e7758a942d93737c1a4aefd.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 7ce25cd57..adf555a7c 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, char **location, degrees_t *latitude, degrees_t *longitude)