mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
config: Let "unset" delete built-in options too.
This commit is contained in:
parent
2c9d966c99
commit
661dda04c9
@ -345,6 +345,7 @@ parse_unset(struct option *opt_tree, struct conf_parsing_state *state,
|
||||
|
||||
if (!mirror) {
|
||||
if (opt->flags & OPT_ALLOC) delete_option(opt);
|
||||
else mark_option_as_deleted(opt);
|
||||
} else {
|
||||
if (opt->flags & OPT_DELETED)
|
||||
opt->flags |= OPT_WATERMARK;
|
||||
|
Loading…
Reference in New Issue
Block a user