0
0
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:
Kalle Olavi Niemitalo 2007-01-27 19:49:19 +02:00 committed by Kalle Olavi Niemitalo
parent 22f7468013
commit 7bfd9703d9

View File

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