ole32: Check for pcbSize in AntiMonikerImpl_GetSizeMax being for NULL, not for non-NULL.

This commit is contained in:
Robert Shearman 2006-04-07 11:19:04 +01:00 committed by Alexandre Julliard
parent 582e2f1ff8
commit ff5efc2779
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ AntiMonikerImpl_GetSizeMax(IMoniker* iface, ULARGE_INTEGER* pcbSize)
{
TRACE("(%p,%p)\n",iface,pcbSize);
if (pcbSize!=NULL)
if (!pcbSize)
return E_POINTER;
/* for more details see AntiMonikerImpl_Save coments */