dsound: Avoid a TRUE:FALSE conditional expression.

This commit is contained in:
Michael Stefaniuc 2012-08-13 11:43:59 +02:00 committed by Alexandre Julliard
parent 563d229b5f
commit b18bc659d6
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ static inline IDirectSoundBufferImpl *impl_from_IDirectSoundBuffer8(IDirectSound
static inline BOOL is_primary_buffer(IDirectSoundBufferImpl *This)
{
return This->dsbd.dwFlags & DSBCAPS_PRIMARYBUFFER ? TRUE : FALSE;
return (This->dsbd.dwFlags & DSBCAPS_PRIMARYBUFFER) != 0;
}
static HRESULT WINAPI IDirectSoundBufferImpl_SetFormat(IDirectSoundBuffer8 *iface,