gtk: fix bug in GetObject for ExtCreatePen

git-svn-id: trunk@17159 -
This commit is contained in:
paul 2008-10-30 23:19:53 +00:00
parent 1eebfd9824
commit 8436b0266e

View File

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