mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 00:47:52 +02:00
TBAseStringBitmaps.CalculateGlobals: the first <non-empty> bitmap should be used, not the first one
git-svn-id: trunk@49625 -
This commit is contained in:
parent
4fac31d1c7
commit
ade1bad057
@ -1000,7 +1000,7 @@ begin
|
||||
While (l<Count) and (BitMaps[l]^.Width=0) and (BitMaps[l]^.Height=0) do
|
||||
Inc(l);
|
||||
if L<Count then
|
||||
with BitMaps[0]^ do
|
||||
with BitMaps[L]^ do
|
||||
begin
|
||||
FBounds.left := x;
|
||||
FBounds.top := y + height;
|
||||
|
Loading…
Reference in New Issue
Block a user