Skip to content

Commit

Permalink
[USER32] Fix the comment
Browse files Browse the repository at this point in the history
Co-authored-by: Hermès BÉLUSCA - MAÏTO <[email protected]>
  • Loading branch information
julenuri and HBelusca authored Jun 7, 2024
1 parent e30a5e5 commit 193df22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions win32ss/user/user32/windows/cursoricon.c
Original file line number Diff line number Diff line change
Expand Up @@ -2031,9 +2031,9 @@ HANDLE WINAPI CopyImage(
return BITMAP_CopyImage(hImage, cxDesired, cyDesired, fuFlags);
case IMAGE_CURSOR:
case IMAGE_ICON:
/* HACK: Copying bitmaps with LR_COPYFROMRESOURCE flag fails. CORE-17902.
* This is a way to return original bit map it if we want
* the icons to show up. We need a simpler test. */
/* HACK: Copying bitmaps with LR_COPYFROMRESOURCE flag fails. CORE-17902.
* This is a way to return the original bit map if we need
* the icons to show up. We need a simpler test. */
{
HANDLE handle = CURSORICON_CopyImage(hImage, uType == IMAGE_ICON, cxDesired, cyDesired, fuFlags);
if (!handle && (fuFlags & (LR_COPYFROMRESOURCE|LR_COPYRETURNORG)))
Expand Down

0 comments on commit 193df22

Please sign in to comment.