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:
Dirk Hohndel 2015-06-09 14:34:37 -07:00
parent 53806c265c
commit e19fa0a9f3

View file

@ -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;
}