1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

config: Let "unset" delete built-in options too.

(cherry picked from commit 661dda04c9)
This commit is contained in:
Kalle Olavi Niemitalo 2008-02-03 20:23:58 +02:00 committed by Kalle Olavi Niemitalo
parent 6ef4f017be
commit 1841d8f399

View File

@ -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;