summaryrefslogtreecommitdiff
path: root/lib/libncurses/lib_beep.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libncurses/lib_beep.c')
-rw-r--r--lib/libncurses/lib_beep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libncurses/lib_beep.c b/lib/libncurses/lib_beep.c
index 7837ac142a817..60ce5920b20e4 100644
--- a/lib/libncurses/lib_beep.c
+++ b/lib/libncurses/lib_beep.c
@@ -11,7 +11,7 @@
*/
#include "curses.priv.h"
-#include <nterm.h>
+#include "terminfo.h"
/*
* beep()
@@ -27,9 +27,9 @@ int beep()
/* should make sure that we are not in altchar mode */
if (bell)
- return(tputs(bell, 1, _outc));
+ return(putp(bell));
else if (flash_screen)
- return(tputs(flash_screen, 1, _outc));
+ return(putp(flash_screen));
else
return(ERR);
}
@@ -48,9 +48,9 @@ int flash()
/* should make sure that we are not in altchar mode */
if (flash_screen)
- return(tputs(flash_screen, 1, _outc));
+ return(putp(flash_screen));
else if (bell)
- return(tputs(bell, 1, _outc));
+ return(putp(bell));
else
return(ERR);
}