The divisor in the bell timing boxes should be TICKSPERSEC, not 1000.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 14 Mar 2003 21:18:13 +0000 (21:18 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 14 Mar 2003 21:18:13 +0000 (21:18 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@2934 cda61777-01e9-0310-a592-d414129be87e

config.c

index 87bab60..841c0e6 100644 (file)
--- a/config.c
+++ b/config.c
@@ -919,13 +919,13 @@ void setup_config_box(struct controlbox *b, struct sesslist *sesslist,
     ctrl_editbox(s, "... in this many seconds", 't', 20,
                 HELPCTX(bell_overload),
                 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.",
              HELPCTX(bell_overload));
     ctrl_editbox(s, "Seconds of silence required", 's', 20,
                 HELPCTX(bell_overload),
                 dlg_stdeditbox_handler, I(offsetof(Config,bellovl_s)),
-                I(-1000));
+                I(-TICKSPERSEC));
 
     /*
      * The Terminal/Features panel.