]> Zhao Yanbai Git Server - minix.git/commitdiff
mined.h: use '\a' instead of ascii code for bell. 77/2977/1
authorThomas Cort <tcort@minix3.org>
Wed, 25 Mar 2015 18:34:14 +0000 (14:34 -0400)
committerLionel Sambuc <lionel@minix3.org>
Sat, 28 Mar 2015 07:38:48 +0000 (08:38 +0100)
Makes the code slightly more portable and readable.

Change-Id: I45bbecb6dc1c320c9412eeeaf598116c2ce1aac5

minix/commands/mined/mined.h

index 0832988eb59a220d9e03a7d271d6ada6dbed719f..6b1f884a8d2ed91b1fb39e9e6e1ecfca878ae2d1 100644 (file)
@@ -151,7 +151,7 @@ extern long chars_saved;            /* Nr of chars saved in buffer */
 /*
  * Ring bell on terminal
  */
-#define ring_bell()                    putch('\07')
+#define ring_bell()                    putch('\a')
 
 /*
  * Print string on terminal