This was identified by GCC -Wlogical-op:
dotsplines.c: In function ‘pathscross’:
dotsplines.c:2498:32: warning: logical ‘and’ of equal expressions [-Wlogical-op]
if ((ND_out(n0).size != 1) && (ND_out(n0).size != 1))
^~
Changes in this commit are the fix suggested by Stephen. Fixes #1926.
- broken overflow checks in RectArea #1906
- various memory leaks !1699
- Fix bad free in lefty !1709
+- typo in pathcross #1926
## [2.46.0] - 2021-01-18
int order, cnt;
order = (ND_order(n0) > ND_order(n1));
- if ((ND_out(n0).size != 1) && (ND_out(n0).size != 1))
+ if ((ND_out(n0).size != 1) && (ND_out(n1).size != 1))
return FALSE;
e1 = oe1;
if (ND_out(n0).size == 1 && e1) {