mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
0b836f12fc
commit
969dfee9ec
15 changed files with 43 additions and 43 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue