mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:23:34 +00:00
Set the header size as expected instead of setting the bitmap width
svn path=/trunk/; revision=39180
This commit is contained in:
parent
aeb01dd869
commit
5fbf308acc
1 changed files with 1 additions and 1 deletions
|
@ -834,7 +834,7 @@ BITMAP_GetObject(SURFACE *psurf, INT Count, LPVOID buffer)
|
||||||
/* Fill rest of DIBSECTION */
|
/* Fill rest of DIBSECTION */
|
||||||
PDIBSECTION pds = buffer;
|
PDIBSECTION pds = buffer;
|
||||||
|
|
||||||
pds->dsBmih.biSize =
|
pds->dsBmih.biSize = sizeof(BITMAPINFOHEADER);
|
||||||
pds->dsBmih.biWidth = pds->dsBm.bmWidth;
|
pds->dsBmih.biWidth = pds->dsBm.bmWidth;
|
||||||
pds->dsBmih.biHeight = pds->dsBm.bmHeight;
|
pds->dsBmih.biHeight = pds->dsBm.bmHeight;
|
||||||
pds->dsBmih.biPlanes = pds->dsBm.bmPlanes;
|
pds->dsBmih.biPlanes = pds->dsBm.bmPlanes;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue