mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 09:27:59 +00:00
r5080 didn't go far enough -- since 0.58, anyone on Unix who didn't previously
have default settings for "bell overload" mode will have inherited a twitchy
set of defaults where bells are disabled after 2ms and enabled after 5ms,
rather than 2s and 5s as intended. This error has probably propagated into some
people's saved sessions by now, but there's not much to be done.
[originally from svn r8389]
[r5080 == 7647f57dc4
]
This commit is contained in:
parent
bd5cec280a
commit
3e6111243c
12
settings.c
12
settings.c
@ -695,13 +695,21 @@ void load_open_settings(void *sesskey, Config *cfg)
|
||||
gppfile(sesskey, "BellWaveFile", &cfg->bell_wavefile);
|
||||
gppi(sesskey, "BellOverload", 1, &cfg->bellovl);
|
||||
gppi(sesskey, "BellOverloadN", 5, &cfg->bellovl_n);
|
||||
gppi(sesskey, "BellOverloadT", 2*TICKSPERSEC, &i);
|
||||
gppi(sesskey, "BellOverloadT", 2*TICKSPERSEC
|
||||
#ifdef PUTTY_UNIX_H
|
||||
*1000
|
||||
#endif
|
||||
, &i);
|
||||
cfg->bellovl_t = i
|
||||
#ifdef PUTTY_UNIX_H
|
||||
/ 1000
|
||||
#endif
|
||||
;
|
||||
gppi(sesskey, "BellOverloadS", 5*TICKSPERSEC, &i);
|
||||
gppi(sesskey, "BellOverloadS", 5*TICKSPERSEC
|
||||
#ifdef PUTTY_UNIX_H
|
||||
*1000
|
||||
#endif
|
||||
, &i);
|
||||
cfg->bellovl_s = i
|
||||
#ifdef PUTTY_UNIX_H
|
||||
/ 1000
|
||||
|
Loading…
Reference in New Issue
Block a user