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
|
@ -123,7 +123,7 @@ void process_all_dives(struct dive *dive, struct dive **prev_dive)
|
|||
free(stats_by_type);
|
||||
|
||||
size = sizeof(stats_t) * (dive_table.nr + 1);
|
||||
tsize = sizeof(stats_t) * (NUM_DC_TYPE + 1);
|
||||
tsize = sizeof(stats_t) * (NUM_DIVEMODE + 1);
|
||||
stats_yearly = malloc(size);
|
||||
stats_monthly = malloc(size);
|
||||
stats_by_trip = malloc(size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue