mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
The bell overload times are now measured in milliseconds, although
the config box still enters them in seconds (it allows fractions). [originally from svn r1089]
This commit is contained in:
@ -906,7 +906,7 @@ void term_out(void) {
|
||||
* t seconds ago.
|
||||
*/
|
||||
while (beephead &&
|
||||
beephead->ticks < ticks - cfg.bellovl_t*1000) {
|
||||
beephead->ticks < ticks - cfg.bellovl_t) {
|
||||
struct beeptime *tmp = beephead;
|
||||
beephead = tmp->next;
|
||||
sfree(tmp);
|
||||
@ -916,7 +916,7 @@ void term_out(void) {
|
||||
}
|
||||
|
||||
if (cfg.bellovl && beep_overloaded &&
|
||||
ticks-lastbeep >= cfg.bellovl_s * 1000) {
|
||||
ticks-lastbeep >= cfg.bellovl_s) {
|
||||
/*
|
||||
* If we're currently overloaded and the
|
||||
* last beep was more than s seconds ago,
|
||||
|
Reference in New Issue
Block a user