Signed-off-by: Miika Turkia <[email protected]>
---
 core/parse-xml.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/parse-xml.c b/core/parse-xml.c
index 746d4ce..5eccbb9 100644
--- a/core/parse-xml.c
+++ b/core/parse-xml.c
@@ -2724,7 +2724,8 @@ extern int shearwater_dive(void *param, int columns, char 
**data, char **column)
        if (data[10])
                utf8_string(data[10], &cur_settings.dc.model);
 
-       cur_settings.dc.deviceid = 0xffffffff;
+       cur_settings.dc.deviceid = atoi(data[9]);
+
        dc_settings_end();
        settings_end();
 
-- 
2.5.0

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to