* 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.
This commit is contained in:
Christopher Faylor 2006-01-04 04:47:19 +00:00
parent 4c15746236
commit d58ca0b320
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-01-03 Christopher Faylor <cgf@timesys.com>
* 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.
2006-01-03 Christopher Faylor <cgf@timesys.com> 2006-01-03 Christopher Faylor <cgf@timesys.com>
* fhandler_process.cc (fhandler_process::readdir): Add missing argument * fhandler_process.cc (fhandler_process::readdir): Add missing argument

View File

@ -1428,7 +1428,7 @@ beep ()
if (res && res <= len) if (res && res <= len)
r.set_string ("", strcat (buf, "\\media\\ding.wav")); r.set_string ("", strcat (buf, "\\media\\ding.wav"));
} }
MessageBeep (0xFFFFFFFF); MessageBeep (MB_OK);
} }
const unsigned char * const unsigned char *