mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-14 22:52:21 +02:00
TBAseStringBitmaps.CalculateGlobals: the first <non-empty> bitmap should be used, not the first one
git-svn-id: trunk@49625 -
(cherry picked from commit ade1bad057
)
This commit is contained in:
parent
0bd2aa7487
commit
daeb159232
@ -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