Removed an infinite recursion bug in StrokePolygon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12708 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
585fe26c42
commit
d73474eee9
@ -2413,7 +2413,9 @@ BView::StrokePolygon(const BPolygon* aPolygon,bool closed, pattern p)
|
||||
void
|
||||
BView::StrokePolygon(const BPoint *ptArray, int32 numPts, bool closed, pattern p)
|
||||
{
|
||||
StrokePolygon(ptArray, numPts, closed, p);
|
||||
BPolygon aPolygon(ptArray,numPts);
|
||||
|
||||
StrokePolygon(aPolygon.fPts, aPolygon.fCount, aPolygon.Frame(), closed, p);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user