mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 18:20:18 +02:00
Turbopower_ipro: Add missing nil check to previous commit.
This commit is contained in:
parent
599b6f0df5
commit
f57ec3d472
@ -450,7 +450,8 @@ begin
|
||||
|
||||
{ mirroring for RTL reading }
|
||||
isRTL := (FOwner.Dir = hdRTL);
|
||||
if (CurElem.Owner.ParentNode <> nil) and (CurElem.Owner.ParentNode is TIpHTMLNodeCORE) then
|
||||
if (CurElem.Owner <> nil) and (CurElem.Owner.ParentNode <> nil) and
|
||||
(CurElem.Owner.ParentNode is TIpHTMLNodeCORE) then
|
||||
begin
|
||||
rtlNode := TIpHtmlNodeCORE(CurElem.Owner.ParentNode);
|
||||
if isRTL and (rtlNode.Dir = hdLTR) then
|
||||
|
Loading…
Reference in New Issue
Block a user