Commit b18bc659 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dsound: Avoid a TRUE:FALSE conditional expression.

parent 563d229b
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment