mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: remove autogroup global
Use the flag in the divelog structure, since this will be saved in the dive log. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
aa34afc3f7
commit
b61732da42
10 changed files with 23 additions and 29 deletions
|
@ -901,12 +901,11 @@ static void parse_trip_location(char *line, struct membuffer *str, struct git_pa
|
|||
static void parse_trip_notes(char *line, struct membuffer *str, struct git_parser_state *state)
|
||||
{ UNUSED(line); state->active_trip->notes = detach_cstring(str); }
|
||||
|
||||
static void parse_settings_autogroup(char *line, struct membuffer *str, struct git_parser_state *_unused)
|
||||
static void parse_settings_autogroup(char *line, struct membuffer *str, struct git_parser_state *state)
|
||||
{
|
||||
UNUSED(line);
|
||||
UNUSED(str);
|
||||
UNUSED(_unused);
|
||||
set_autogroup(true);
|
||||
state->log->autogroup = true;
|
||||
}
|
||||
|
||||
static void parse_settings_units(char *line, struct membuffer *str, struct git_parser_state *unused)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue