sorry I broke the build, thx Brezenbak and w3seek point it out, small change from brezenbak to fix it

svn path=/trunk/; revision=21855
This commit is contained in:
Magnus Olsen
2006-05-08 17:35:09 +00:00
parent e85d46966b
commit 875cffced6
+2 -2
View File
@@ -158,9 +158,9 @@ DdDeleteDirectDrawObject(LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal)
}
status = NtGdiDdDeleteDirectDrawObject((HANDLE)pDirectDrawGlobal->hDD);
if (status == TRUE) && (pDirectDrawGlobalInternal->hDD != NULL)
if (status == TRUE) && (pDirectDrawGlobalInternal->hDD != 0)
{
pDirectDrawGlobalInternal->hDD = NULL;
pDirectDrawGlobalInternal->hDD = 0;
}
return status;