1
0
mirror of synced 2024-11-05 03:09:15 +00:00

Fixed: ByName functions should work on PictureName instead of Name

This commit is contained in:
Mark van Renswoude 2010-07-20 10:04:45 +00:00
parent 131f05711d
commit 9feef16168

View File

@ -544,7 +544,7 @@ begin
Result := -1;
for graphicIndex := Pred(GraphicCount) downto 0 do
if SameText(Graphics[graphicIndex].Name, AName) then
if SameText(Graphics[graphicIndex].PictureName, AName) then
begin
Result := graphicIndex;
break;