From 5012d502e30fe0e05136374ade716ce29c363bc1 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Tue, 17 Apr 2007 01:15:24 +0000 Subject: [PATCH] display the icons again - but something is still wrong svn path=/trunk/; revision=26367 --- reactos/subsystems/win32/win32k/objects/dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsystems/win32/win32k/objects/dc.c b/reactos/subsystems/win32/win32k/objects/dc.c index 9e66dc919d0..7cd011e7b48 100644 --- a/reactos/subsystems/win32/win32k/objects/dc.c +++ b/reactos/subsystems/win32/win32k/objects/dc.c @@ -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)