Merged from sys/dev/syscons/scterm-sc.c revison 1.15.

This commit is contained in:
Yoshihiro Takahashi 2001-06-26 11:45:54 +00:00
parent 5346e77648
commit 7dbc5c43d4
2 changed files with 4 additions and 2 deletions

View File

@ -628,7 +628,8 @@ scterm_scan_esc(scr_stat *scp, term_stat *tcp, u_char c)
case 'B': /* set bell pitch and duration */
if (tcp->num_param == 2) {
scp->bell_pitch = tcp->param[0];
scp->bell_duration = tcp->param[1];
scp->bell_duration =
(tcp->param[1] * hz + 99) / 100;
}
break;

View File

@ -628,7 +628,8 @@ scterm_scan_esc(scr_stat *scp, term_stat *tcp, u_char c)
case 'B': /* set bell pitch and duration */
if (tcp->num_param == 2) {
scp->bell_pitch = tcp->param[0];
scp->bell_duration = tcp->param[1];
scp->bell_duration =
(tcp->param[1] * hz + 99) / 100;
}
break;