mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 11:01:20 +02:00
* fixed compilation (exception typecast)
git-svn-id: trunk@7905 -
This commit is contained in:
parent
4ee8919e11
commit
837dd40f06
@ -268,7 +268,7 @@ begin
|
||||
RawImage^.Description.AlphaLineEnd);
|
||||
UsedBitsPerLine:=Width*RawImage^.Description.AlphaBitsPerPixel;
|
||||
if RawImage^.MaskSize<((Height*BitsPerLine+7) shr 3) then
|
||||
raise Exception('RawImageMaskIsEmpty Invalid MaskSize');
|
||||
raise Exception.Create('RawImageMaskIsEmpty Invalid MaskSize');
|
||||
if (BitsPerLine and 7)=0 then begin
|
||||
// byte boundary
|
||||
UsedBytesPerLine:=UsedBitsPerLine shr 3;
|
||||
|
Loading…
Reference in New Issue
Block a user