mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +00:00
fixed a bug in LoadCursorImage()
svn path=/trunk/; revision=5769
This commit is contained in:
parent
aefd11c055
commit
c863a9d611
|
@ -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.13 2003/08/20 14:08:18 weiden Exp $
|
/* $Id: bitmap.c,v 1.14 2003/08/22 20:17:08 weiden Exp $
|
||||||
*
|
*
|
||||||
* PROJECT: ReactOS user32.dll
|
* PROJECT: ReactOS user32.dll
|
||||||
* FILE: lib/user32/windows/input.c
|
* FILE: lib/user32/windows/input.c
|
||||||
|
@ -125,7 +125,7 @@ LoadCursorImage(HINSTANCE hinst, LPCWSTR lpszName, UINT fuLoad)
|
||||||
|
|
||||||
h2Resource = FindResourceW(hinst,
|
h2Resource = FindResourceW(hinst,
|
||||||
MAKEINTRESOURCEW(id),
|
MAKEINTRESOURCEW(id),
|
||||||
MAKEINTRESOURCEW(RT_ICON));
|
MAKEINTRESOURCEW(RT_CURSOR));
|
||||||
|
|
||||||
hResource = LoadResource(hinst, h2Resource);
|
hResource = LoadResource(hinst, h2Resource);
|
||||||
if (hResource == NULL)
|
if (hResource == NULL)
|
||||||
|
|
Loading…
Reference in a new issue