1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-22 14:39:24 -05:00

The divisor in the bell timing boxes should be TICKSPERSEC, not 1000.

[originally from svn r2934]
This commit is contained in:
Simon Tatham 2003-03-14 21:18:13 +00:00
parent fca92a5b43
commit de1562cade

View File

@ -919,13 +919,13 @@ void setup_config_box(struct controlbox *b, struct sesslist *sesslist,
ctrl_editbox(s, "... in this many seconds", 't', 20, ctrl_editbox(s, "... in this many seconds", 't', 20,
HELPCTX(bell_overload), HELPCTX(bell_overload),
dlg_stdeditbox_handler, I(offsetof(Config,bellovl_t)), dlg_stdeditbox_handler, I(offsetof(Config,bellovl_t)),
I(-1000)); I(-TICKSPERSEC));
ctrl_text(s, "The bell is re-enabled after a few seconds of silence.", ctrl_text(s, "The bell is re-enabled after a few seconds of silence.",
HELPCTX(bell_overload)); HELPCTX(bell_overload));
ctrl_editbox(s, "Seconds of silence required", 's', 20, ctrl_editbox(s, "Seconds of silence required", 's', 20,
HELPCTX(bell_overload), HELPCTX(bell_overload),
dlg_stdeditbox_handler, I(offsetof(Config,bellovl_s)), dlg_stdeditbox_handler, I(offsetof(Config,bellovl_s)),
I(-1000)); I(-TICKSPERSEC));
/* /*
* The Terminal/Features panel. * The Terminal/Features panel.