mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
toggle_option: Remove an obsolete comment.
option_changed already calls the change hooks so there's no need to have a TODO comment about calling them.
This commit is contained in:
parent
22f7468013
commit
7bfd9703d9
@ -955,7 +955,6 @@ toggle_option(struct session *ses, struct option *option)
|
||||
assert(option->type == OPT_BOOL || option->type == OPT_INT);
|
||||
assert(option->max);
|
||||
|
||||
/* TODO: call change hooks. --jonas */
|
||||
option->value.number = (number <= option->max) ? number : option->min;
|
||||
option_changed(ses, option, option);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user