dinput: Use bitwise NOT not logical NOT.

This commit is contained in:
Andrew Talbot 2007-11-26 15:09:55 +00:00 committed by Alexandre Julliard
parent 61ed0c99e6
commit 1067f56ca5
1 changed files with 1 additions and 1 deletions

View File

@ -540,7 +540,7 @@ static HRESULT WINAPI LinuxInputEffectImpl_SetParameters(
_dump_DIEFFECT(peff, &This->guid);
if ((dwFlags & !DIEP_NORESTART & !DIEP_NODOWNLOAD & !DIEP_START) == 0) {
if ((dwFlags & ~DIEP_NORESTART & ~DIEP_NODOWNLOAD & ~DIEP_START) == 0) {
/* set everything */
dwFlags = DIEP_AXES | DIEP_DIRECTION | DIEP_DURATION | DIEP_ENVELOPE |
DIEP_GAIN | DIEP_SAMPLEPERIOD | DIEP_STARTDELAY | DIEP_TRIGGERBUTTON |