mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
Fix zero bug.
svn path=/trunk/; revision=30993
This commit is contained in:
parent
f4edca4243
commit
657accd8bd
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue