* Patch from Colin Western to read B/W bitmaps with padding bits (19237)

git-svn-id: trunk@17390 -
This commit is contained in:
michael 2011-05-02 19:05:53 +00:00
parent 8847efb758
commit 90af29cda9

View File

@ -229,13 +229,13 @@ Var
L:=P^;
for j:=0 to 7 do
begin
if odd(L)
then
if x < FWidth then
if odd(L) then
Img.Colors[x,Row]:=colBlack
else
Img.Colors[x,Row]:=colWhite;
L:=L shr 1;
dec(x);
L:=L shr 1;
dec(x);
end;
Inc(P);
Inc(x,16);