summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
Diffstat (limited to 'dive.c')
-rw-r--r--dive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dive.c b/dive.c
index 405812271..5eef5bab0 100644
--- a/dive.c
+++ b/dive.c
@@ -670,7 +670,7 @@ static void fixup_duration(struct dive *dive)
int duration = 0;
for_each_dc(dive, dc)
- duration = MAX(duration, dc->duration.seconds);
+ duration = MAX(duration, dc->duration.seconds);
dive->duration.seconds = duration;
}
@@ -896,7 +896,7 @@ struct dive *fixup_dive(struct dive *dive)
dive->maxcns = dive->cns;
for_each_dc(dive, dc)
- fixup_dive_dc(dive, dc);
+ fixup_dive_dc(dive, dc);
fixup_water_salinity(dive);
fixup_surface_pressure(dive);