Fix zero bug.

svn path=/trunk/; revision=30993
This commit is contained in:
James Tabor 2007-12-04 02:52:46 +00:00
parent f4edca4243
commit 657accd8bd

View file

@ -141,6 +141,8 @@ BOOL GdiGetHandleUserData(HGDIOBJ hGdiObj, DWORD ObjectType, PVOID *UserData)
}
_SEH_END
}
else
Result = FALSE; // Can not be zero.
if (Result) *UserData = Entry->UserData;
return Result;
}