瀏覽代碼

TBAseStringBitmaps.CalculateGlobals: the first <non-empty> bitmap should be used, not the first one

git-svn-id: trunk@49625 -
ondrej 4 年之前
父節點
當前提交
ade1bad057
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/fcl-image/src/freetype.pp

+ 1 - 1
packages/fcl-image/src/freetype.pp

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