mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 11:41:42 +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 */
|
||||
PDIBSECTION pds = buffer;
|
||||
|
||||
pds->dsBmih.biSize =
|
||||
pds->dsBmih.biSize = sizeof(BITMAPINFOHEADER);
|
||||
pds->dsBmih.biWidth = pds->dsBm.bmWidth;
|
||||
pds->dsBmih.biHeight = pds->dsBm.bmHeight;
|
||||
pds->dsBmih.biPlanes = pds->dsBm.bmPlanes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue