diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-12-13 09:28:44 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-12-13 05:03:36 -0800 |
commit | 78d1a3ed58de108b15ba0a63b0b0882a120b7214 (patch) | |
tree | 0de6bfdf195a1d13f80e09491a339eb3037b7a7b /core/libdivecomputer.c | |
parent | c12e14a61d68682e150f6905b46a90ff0e3e9f00 (diff) | |
download | subsurface-78d1a3ed58de108b15ba0a63b0b0882a120b7214.tar.gz |
Rename DC_DIVEMODE_CC to DC_DIVEMODE_CCR
This is just code cleanup. Jef renamed the CCR divemode constant
in libdivecomputer, but added a define to be backward compatible as
as well (so this rename did not break our Subsurface build).
Obviously, this breaks the build for people that build against an older
libdivecomputer, but I see no reason to do that.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
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 88edeca52..b67b95581 100644 --- a/core/libdivecomputer.c +++ b/core/libdivecomputer.c @@ -735,7 +735,7 @@ static dc_status_t libdc_header_parser(dc_parser_t *parser, device_data_t *devda case DC_DIVEMODE_OC: /* Open circuit */ dive->dc.divemode = OC; break; - case DC_DIVEMODE_CC: /* Closed circuit */ + case DC_DIVEMODE_CCR: /* Closed circuit */ dive->dc.divemode = CCR; break; } |