mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ static bool merge_locations_into_dives(void)
|
||||||
*/
|
*/
|
||||||
if ((dive->when + dive->duration.seconds - gpsfix->when) < (nextgpsfix->when - gpsfix->when)) {
|
if ((dive->when + dive->duration.seconds - gpsfix->when) < (nextgpsfix->when - gpsfix->when)) {
|
||||||
copy_gps_location(gpsfix, dive);
|
copy_gps_location(gpsfix, dive);
|
||||||
|
changed++;
|
||||||
tracer = j;
|
tracer = j;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue