mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 03:49:41 +02:00
gtk: fix bug in GetObject for ExtCreatePen
git-svn-id: trunk@17159 -
This commit is contained in:
parent
1eebfd9824
commit
8436b0266e
@ -5550,7 +5550,7 @@ begin
|
||||
if GDIObject^.GDIPenDashesCount > 0 then
|
||||
begin
|
||||
for i := 0 to GDIObject^.GDIPenDashesCount - 1 do
|
||||
PDWord(AExtLogPen^.elpStyleEntry)[i] := GDIObject^.GDIPenDashes[i];
|
||||
PDWord(@AExtLogPen^.elpStyleEntry)[i] := GDIObject^.GDIPenDashes[i];
|
||||
end
|
||||
else
|
||||
AExtLogPen^.elpStyleEntry[0] := 0;
|
||||
|
Loading…
Reference in New Issue
Block a user