[PATCHES] Two patches for dive plan

Robert Helling helling at atdotde.de
Wed Nov 23 23:54:14 PST 2016


Rick,

> Am 24.11.2016 um 04:10 schrieb Rick Walsh <rickmwalsh at gmail.com>:
> 
> One question: is there a reason why we can't access displayed_dive.dc.duration.seconds instead of creating a new function to iterate through all the data points to get the runtime?

I found that displayed_dive.dc.duration.seconds as well as displayed_dive.duration.seconds at least sometimes is still 0 at the time when the notes are assembled. I did not investigate this further (maybe I should), but rather wrote this helper function to compute it from the struct diveplan.

Best
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20161124/4b6083a7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20161124/4b6083a7/attachment.sig>


More information about the subsurface mailing list