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>
This commit is contained in:
Marcos CARDINOT 2015-03-19 17:20:03 -03:00 committed by Dirk Hohndel
parent cafef4614f
commit 3255a8e607

View file

@ -635,7 +635,7 @@ static void parse_divespot(char *buf)
latitude = ascii_strtod(val, NULL); latitude = ascii_strtod(val, NULL);
} }
} while (tag && *tag); } 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) static void track_divespot(char *val, int diveid, char **location, degrees_t *latitude, degrees_t *longitude)