X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/093a75b8a54d97147cceb00084bd11ec47d4b905..24d7f85497ff87203d0d201cf964fcf9009abbb6:/terminal.c?ds=inline diff --git a/terminal.c b/terminal.c index eb5d9074..1e0a9fe4 100644 --- a/terminal.c +++ b/terminal.c @@ -1373,12 +1373,12 @@ void term_out(Terminal *term) * Perform an actual beep if we're not overloaded. */ if (!cfg.bellovl || !term->beep_overloaded) { + beep(term->frontend, cfg.beep); if (cfg.beep == BELL_VISUAL) { term->in_vbell = TRUE; term->vbell_startpoint = ticks; term_update(term); - } else - beep(term->frontend, cfg.beep); + } } term->disptop = 0; }