mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
Add failure check.
svn path=/trunk/; revision=20393
This commit is contained in:
@@ -134,6 +134,8 @@ LoadCursorIconImage(
|
||||
h2Resource = FindResourceW(hinst, MAKEINTRESOURCEW(id),
|
||||
Icon ? MAKEINTRESOURCEW(RT_ICON) :
|
||||
MAKEINTRESOURCEW(RT_CURSOR));
|
||||
if (h2Resource == NULL)
|
||||
return NULL;
|
||||
|
||||
hResource = LoadResource(hinst, h2Resource);
|
||||
if (hResource == NULL)
|
||||
|
||||
Reference in New Issue
Block a user