lcl: changed tagBITMAPCOREHEADER and tagBITMAPINFOHEADER to packed, they are used to read .bmp files

git-svn-id: trunk@48567 -
This commit is contained in:
mattias 2015-04-01 09:15:55 +00:00
parent 13dfe1a8cd
commit 4df64d0c65

View File

@ -1264,7 +1264,7 @@ type
PBitmapCoreHeader = ^TBitmapCoreHeader;
tagBITMAPCOREHEADER = record
tagBITMAPCOREHEADER = packed record // use packed, this is the .bmp file format
bcSize: DWORD;
bcWidth: Word;
bcHeight: Word;
@ -1276,7 +1276,7 @@ type
PBitmapInfoHeader = ^TBitmapInfoHeader;
tagBITMAPINFOHEADER = record
tagBITMAPINFOHEADER = packed record // use packed, this is the .bmp file format
biSize : DWORD;
biWidth : Longint;
biHeight : Longint;