]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
The divisor in the bell timing boxes should be TICKSPERSEC, not 1000.
authorSimon Tatham <anakin@pobox.com>
Fri, 14 Mar 2003 21:18:13 +0000 (21:18 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 14 Mar 2003 21:18:13 +0000 (21:18 +0000)
[originally from svn r2934]

config.c

index 87bab60336953988a4ac2321e797dc3952c6ae4b..841c0e6ac1481ed64f75d868f6ac7cedf1d7e1ec 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.