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 0c0e64972..f9914d479 100644
--- a/dive.c
+++ b/dive.c
@@ -1062,8 +1062,8 @@ unsigned int dc_airtemp(struct divecomputer *dc)
static void fixup_cylinder_use(struct dive *dive) // for CCR dives, store the indices
{ // of the oxygen and diluent cylinders
- dive->oxygen_cylinder_index = get_cylinder_use(dive, oxygen);
- dive->diluent_cylinder_index = get_cylinder_use(dive, diluent);
+ dive->oxygen_cylinder_index = get_cylinder_use(dive, OXYGEN);
+ dive->diluent_cylinder_index = get_cylinder_use(dive, DILUENT);
}
static void fixup_airtemp(struct dive *dive)