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:
ondrej 2021-07-21 20:16:00 +00:00 committed by florian
parent 0bd2aa7487
commit daeb159232

View File

@ -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;