mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
[user32] Set the number of colors correctly when creating a monochrome bitmap
svn path=/trunk/; revision=44808
This commit is contained in:
parent
9b791c7be9
commit
9ba0500088
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@ CreateCursorIconFromData(HDC hDC, PVOID ImageData, ICONIMAGE* IconImage, int cxD
|
|||
bwBIH->bmiHeader.biPlanes = 1;
|
||||
bwBIH->bmiHeader.biSizeImage = 0;
|
||||
bwBIH->bmiHeader.biCompression = BI_RGB;
|
||||
bwBIH->bmiHeader.biClrImportant = 0;
|
||||
bwBIH->bmiHeader.biClrUsed = 0;
|
||||
bwBIH->bmiHeader.biClrImportant = 2;
|
||||
bwBIH->bmiHeader.biClrUsed = 2;
|
||||
bwBIH->bmiHeader.biXPelsPerMeter = 0;
|
||||
bwBIH->bmiHeader.biYPelsPerMeter = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue