display the icons again - but something is still wrong

svn path=/trunk/; revision=26367
This commit is contained in:
Christoph von Wittich 2007-04-17 01:15:24 +00:00
parent 6784ecd342
commit 5012d502e3

View file

@ -1841,7 +1841,7 @@ NtGdiGetObject(HANDLE handle, INT count, LPVOID buffer)
return Ret;
}
if (RetCount >= count)
if (RetCount <= count)
{
SafeBuf = ExAllocatePoolWithTag(PagedPool, count, TAG_GDIOBJ);
if(!SafeBuf)