From 7bfd9703d9981736ef465557c1816390273fb64a Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sat, 27 Jan 2007 19:49:19 +0200 Subject: [PATCH] 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. --- src/config/options.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/config/options.c b/src/config/options.c index 12174b943..d8f658185 100644 --- a/src/config/options.c +++ b/src/config/options.c @@ -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); }