Hi,

Please, see attached patch...
Is there any reason to change the order of these arguments? typo?

All the best,
Marcos
From b04b2a168c08002ddc7058da8b968a74dd73afdd Mon Sep 17 00:00:00 2001
From: Marcos CARDINOT <mcardi...@gmail.com>
Date: Thu, 19 Mar 2015 17:20:03 -0300
Subject: [PATCH] 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 <mcardi...@gmail.com>
---
 uemis-downloader.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/uemis-downloader.c b/uemis-downloader.c
index b9ea57b..b2d2583 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)
-- 
1.7.9.5

_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to