summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_console.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-01-04 04:47:19 +0000
committerChristopher Faylor <me@cgf.cx>2006-01-04 04:47:19 +0000
commitd58ca0b320690d34ac713809a83296a8e6ba1a3f (patch)
tree05acb779c7f9b5802b35ff76ea5577e387e4da7d /winsup/cygwin/fhandler_console.cc
parent4c15746236d2fe169d795eca57a8a73f0e8fd096 (diff)
downloadcygnal-d58ca0b320690d34ac713809a83296a8e6ba1a3f.tar.gz
cygnal-d58ca0b320690d34ac713809a83296a8e6ba1a3f.tar.bz2
cygnal-d58ca0b320690d34ac713809a83296a8e6ba1a3f.zip
* fhandler_console.cc (beep): Use MB_OK which is documented as using the
default bell rather than -1 which seems to behave differently on different versions of Windows.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r--winsup/cygwin/fhandler_console.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index c10098b58..c6e67e804 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -1428,7 +1428,7 @@ beep ()
if (res && res <= len)
r.set_string ("", strcat (buf, "\\media\\ding.wav"));
}
- MessageBeep (0xFFFFFFFF);
+ MessageBeep (MB_OK);
}
const unsigned char *