From 71aa8f03891fa6e25d52af6e011a80de584ad36c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Wed, 10 Dec 2003 19:02:33 +0000 Subject: [PATCH] Re-enabled call to NtUserFindExistingCursorIcon after w3seek found and fixed the problem in it svn path=/trunk/; revision=6949 --- reactos/lib/user32/windows/bitmap.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/reactos/lib/user32/windows/bitmap.c b/reactos/lib/user32/windows/bitmap.c index b7dd251e966..68c39ef79da 100644 --- a/reactos/lib/user32/windows/bitmap.c +++ b/reactos/lib/user32/windows/bitmap.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: bitmap.c,v 1.23 2003/12/09 20:58:16 weiden Exp $ +/* $Id: bitmap.c,v 1.24 2003/12/10 19:02:33 gvg Exp $ * * PROJECT: ReactOS user32.dll * FILE: lib/user32/windows/input.c @@ -290,16 +290,12 @@ LoadIconImage(HINSTANCE hinst, LPCWSTR lpszName, INT width, INT height, UINT fuL return(NULL); } -#if 0 - /* Code temporarily deactivated until NtUserFindExistingCursorIcon - can take requested width/height into account */ if (fuLoad & LR_SHARED) { - hIcon = NtUserFindExistingCursorIcon(hinst, (HRSRC)hfRes); + hIcon = NtUserFindExistingCursorIcon(hinst, (HRSRC)hfRes, width, height); if(hIcon) return hIcon; } -#endif hResource = LoadResource(hinst, hResource); if (hResource == NULL)