From ff5efc2779a6c82724a2ee254b6cd09fcae8c4d8 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Fri, 7 Apr 2006 11:19:04 +0100 Subject: [PATCH] ole32: Check for pcbSize in AntiMonikerImpl_GetSizeMax being for NULL, not for non-NULL. --- dlls/ole32/antimoniker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ole32/antimoniker.c b/dlls/ole32/antimoniker.c index 3c25a756fdf..9b233e170d8 100644 --- a/dlls/ole32/antimoniker.c +++ b/dlls/ole32/antimoniker.c @@ -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 */