mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: rename trip->index to trip->saved
The index-field was misused by the IO routines to mark which dives had been saved. Somewhat questionable, but let's at least name the field accordingly. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
3a933637da
commit
8ff7314b21
4 changed files with 11 additions and 10 deletions
|
|
@ -294,7 +294,8 @@ typedef struct dive_trip
|
|||
char *notes;
|
||||
struct dive *dives;
|
||||
int nrdives;
|
||||
int index;
|
||||
/* Used by the io-routines to mark trips that have already been written. */
|
||||
bool saved;
|
||||
unsigned expanded : 1, selected : 1, autogen : 1, fixup : 1;
|
||||
struct dive_trip *next;
|
||||
} dive_trip_t;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue