dsound: Fix stupid mistake.

This commit is contained in:
Maarten Lankhorst 2007-05-26 19:13:25 +02:00 committed by Alexandre Julliard
parent 0ad8eaa27a
commit c83fd812f1
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ HRESULT DSOUND_PrimarySetFormat(DirectSoundDevice *device, LPCWAVEFORMATEX wfex)
}
if (device->state == STATE_PLAYING) device->state = STATE_STARTING;
else if (device->state == STATE_STOPPING) device->state = STATE_STOPPED;
} else {
} else if (FAILED(err)) {
WARN("IDsDriverBuffer_SetFormat failed\n");
goto done;
}