mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:22:57 +00:00
Temporarily deactivate LR_SHARED handling for icons
svn path=/trunk/; revision=6936
This commit is contained in:
parent
10e81a9d76
commit
2acdd8da85
1 changed files with 11 additions and 7 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: bitmap.c,v 1.21 2003/12/07 18:54:15 navaraf Exp $
|
/* $Id: bitmap.c,v 1.22 2003/12/09 19:43:38 gvg Exp $
|
||||||
*
|
*
|
||||||
* PROJECT: ReactOS user32.dll
|
* PROJECT: ReactOS user32.dll
|
||||||
* FILE: lib/user32/windows/input.c
|
* FILE: lib/user32/windows/input.c
|
||||||
|
@ -289,12 +289,16 @@ LoadIconImage(HINSTANCE hinst, LPCWSTR lpszName, INT width, INT height, UINT fuL
|
||||||
return(NULL);
|
return(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
/* Code temporarily deactivated until NtUserFindExistingCursorIcon
|
||||||
|
can take requested width/height into account */
|
||||||
if (fuLoad & LR_SHARED)
|
if (fuLoad & LR_SHARED)
|
||||||
{
|
{
|
||||||
hIcon = NtUserFindExistingCursorIcon(hinst, (HRSRC)hfRes);
|
hIcon = NtUserFindExistingCursorIcon(hinst, (HRSRC)hfRes);
|
||||||
if(hIcon)
|
if(hIcon)
|
||||||
return hIcon;
|
return hIcon;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
hResource = LoadResource(hinst, hResource);
|
hResource = LoadResource(hinst, hResource);
|
||||||
if (hResource == NULL)
|
if (hResource == NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue