diff options
Diffstat (limited to 'core/libdivecomputer.c')
-rw-r--r-- | core/libdivecomputer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/libdivecomputer.c b/core/libdivecomputer.c index bc0836c3c..f40c55c2e 100644 --- a/core/libdivecomputer.c +++ b/core/libdivecomputer.c @@ -228,7 +228,7 @@ static int parse_gasmixes(device_data_t *devdata, struct dive *dive, dc_parser_t if (empty_string(cyl.type.description)) cyl.type.description = strdup(translate("gettextFromC", "unknown")); - add_to_cylinder_table(&dive->cylinders, dive->cylinders.nr, cyl); + add_cylinder(&dive->cylinders, dive->cylinders.nr, cyl); } return DC_STATUS_SUCCESS; } |