Don't ref NULL ptrs in debug.

This commit is contained in:
Marcus Meissner 1999-10-13 12:31:21 +00:00 committed by Alexandre Julliard
parent 24f1219c56
commit 7916ca314b

View file

@ -1001,7 +1001,7 @@ static HRESULT WINAPI IDirectSoundBufferImpl_GetCurrentPosition(
TRACE("(%p,%p,%p)\n",This,playpos,writepos);
if (playpos) *playpos = This->playpos;
if (writepos) *writepos = This->writepos;
TRACE("playpos = %ld, writepos = %ld\n", *playpos, *writepos);
TRACE("playpos = %ld, writepos = %ld\n", playpos?*playpos:0, writepos?*writepos:0);
return DS_OK;
}