From 983733d1c8ecb0ed2d5446b67a8c5ca8bf651e0a Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sat, 27 May 2006 07:03:03 +0000 Subject: [PATCH] Fix Win32 build typo. --- src/xpdev/xpbeep.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xpdev/xpbeep.c b/src/xpdev/xpbeep.c index e98b4750ae..6b164f4f85 100644 --- a/src/xpdev/xpbeep.c +++ b/src/xpdev/xpbeep.c @@ -226,7 +226,7 @@ fprintf(stderr,"1\n"); if(sound_device_open_failed) return(FALSE); handle_type=SOUND_DEVICE_WIN32; - if(!sound_device_open_failed)) + if(!sound_device_open_failed) return(TRUE); #endif @@ -328,6 +328,8 @@ BOOL xptone_close(void) handle_type=SOUND_DEVICE_CLOSED; sound_device_open_failed=FALSE; alsa_device_open_failed=FALSE; + + return(TRUE); } /********************************************************************************/ -- GitLab