mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 16:39:26 +02:00
little speedup for previous commit from giantm
git-svn-id: trunk@12560 -
This commit is contained in:
parent
b9e61a07f7
commit
7d152dfb5b
@ -194,7 +194,7 @@ class procedure TWin32WSCustomImageList.AddData(AListHandle: TLCLIntfHandle; ACo
|
||||
end;
|
||||
// finish mask shifting
|
||||
if (AWidth and $7) <> 0 then
|
||||
P^ := P^ shl (7 - (AWidth mod 8));
|
||||
P^ := P^ shl (7 - (AWidth and 7));
|
||||
Inc(LinePtr, MaskStride);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user