Subsurface GPS webservice: make sure dive log is marked as modified
One of the cases was missing. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
53806c265c
commit
e19fa0a9f3
@ -85,6 +85,7 @@ static bool merge_locations_into_dives(void)
|
||||
*/
|
||||
if ((dive->when + dive->duration.seconds - gpsfix->when) < (nextgpsfix->when - gpsfix->when)) {
|
||||
copy_gps_location(gpsfix, dive);
|
||||
changed++;
|
||||
tracer = j;
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user