summaryrefslogtreecommitdiffstats
path: root/core/save-xml.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2018-05-08 16:24:51 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-05-14 23:47:00 +0300
commit969dfee9ec088acb942e211cb90329d2b8c0751f (patch)
tree89571c94dde158e2027108ba3dde7c8468caf351 /core/save-xml.c
parent0b836f12fc714f0dfee6303699c9510f4cdf3b17 (diff)
downloadsubsurface-969dfee9ec088acb942e211cb90329d2b8c0751f.tar.gz
Rename enum dive_comp_type to divemode_t
...as the usuage is not anymore about a computer but a momentary dive mode. Rename the end indicator as well. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/save-xml.c')
-rw-r--r--core/save-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/save-xml.c b/core/save-xml.c
index 90587163d..9eece665e 100644
--- a/core/save-xml.c
+++ b/core/save-xml.c
@@ -402,7 +402,7 @@ static void save_dc(struct membuffer *b, struct dive *dive, struct divecomputer
if (dc->duration.seconds && dc->duration.seconds != dive->dc.duration.seconds)
put_duration(b, dc->duration, " duration='", " min'");
if (dc->divemode != OC) {
- for (enum dive_comp_type i = 0; i < NUM_DC_TYPE; i++)
+ for (enum divemode_t i = 0; i < NUM_DIVEMODE; i++)
if (dc->divemode == i)
show_utf8(b, divemode_text[i], " dctype='", "'", 1);
if (dc->no_o2sensors)