From ef67eed7b43b0b65f6839b4e67e955a04892bb51 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Wed, 18 Oct 2006 23:11:41 +0000 Subject: [PATCH] Had fflush() around MessageBeep() here (unnoted patch), but it doesn't really seem to make a difference. I can't duplicate the bug report where the beep comes late (and this is the fix), although I _do_ get slow beeps with the DOS version, if I switch to DOS (rather than BIOS) _input_. Confusing, eh? --- win32/pdcutil.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/win32/pdcutil.c b/win32/pdcutil.c index 458bffea..8e5d315a 100644 --- a/win32/pdcutil.c +++ b/win32/pdcutil.c @@ -13,16 +13,14 @@ #include "pdcwin.h" -RCSID("$Id: pdcutil.c,v 1.9 2006/10/15 02:42:26 wmcbrine Exp $"); +RCSID("$Id: pdcutil.c,v 1.10 2006/10/18 23:11:41 wmcbrine Exp $"); void PDC_beep(void) { PDC_LOG(("PDC_beep() - called\n")); - fflush(stdout); /* MessageBeep(MB_OK); */ MessageBeep(0XFFFFFFFF); - fflush(stdout); } void PDC_napms(int ms)