mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-09 21:49:18 +02:00
* Patch from Colin Western to read B/W bitmaps with padding bits (19237)
git-svn-id: trunk@17390 -
This commit is contained in:
parent
8847efb758
commit
90af29cda9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user