bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Recent changes in sound.c


From: Massimiliano Maini
Subject: Re: [Bug-gnubg] Recent changes in sound.c
Date: Thu, 17 Apr 2008 11:40:02 +0200


Michael Petch <address@hidden> wrote on 17/04/2008 10:58:23:

> Moving the include for the first issue is correct. The second one
> modify your sound.c so that:
>
>     if (!fX || gs == SOUND_EXIT)
>         playSoundFile( sound, TRUE );
>     else
>         playSoundFile( sound, FALSE );
>
> To (the fX check only applies when GTK is in use, which doesn’t
> apply to nogui builds):
>
> #if USE_GTK
>         if (!fX || gs == SOUND_EXIT)
> #else
>         if (gs == SOUND_EXIT)
> #endif
>                 playSoundFile( sound, TRUE );
>         else
>                 playSoundFile( sound, FALSE );
>
>
> I’ll put this change away into  CVS, can you let me know if it works first.


I think you've already put both in CVS. Seems to work fine.
I'll post a new install archive/exes on gnubg.org asap.

MaX.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]