Merged from sys/dev/syscons/syscons.c revision 1.400.

This commit is contained in:
Yoshihiro Takahashi 2003-04-02 10:49:48 +00:00
parent 8faf6df9b3
commit ca30868b63

View File

@ -3568,7 +3568,7 @@ sc_bell(scr_stat *scp, int pitch, int duration)
if (scp != scp->sc->cur_scp)
scp->sc->blink_in_progress += 2;
blink_screen(scp->sc->cur_scp);
} else {
} else if (duration != 0 && pitch != 0) {
if (scp != scp->sc->cur_scp)
pitch *= 2;
sysbeep(pitch, duration);