mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 11:10:16 +02:00
fix range check error (0010888)
git-svn-id: trunk@14252 -
This commit is contained in:
parent
7b7eafc985
commit
3cbd0f604b
@ -945,7 +945,7 @@ begin
|
||||
else
|
||||
AHeight := ItemHeight;
|
||||
if FStyle = csOwnerDrawVariable then
|
||||
MeasureItem(ItemId, AHeight);
|
||||
MeasureItem(Integer(ItemId), AHeight);
|
||||
if AHeight > 0 then
|
||||
ItemHeight := AHeight;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user