Skip to content

Commit

Permalink
clipper.rectclip.cpp - fixed bug in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AngusJohnson committed Apr 27, 2024
1 parent cf841d7 commit 33ec483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CPP/Clipper2Lib/src/clipper.rectclip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ namespace Clipper2Lib {
OutPt2* op2 = op->next;
while (op2 && op2 != op)
{
if (!IsCollinear(op2->prev->pt,
if (IsCollinear(op2->prev->pt,
op2->pt, op2->next->pt))
{
op = op2->prev;
Expand Down

0 comments on commit 33ec483

Please sign in to comment.