- fixed: RemoveClipRange did not shorten the range if it had to split it up.

This commit is contained in:
Christoph Oelckers 2021-12-23 20:37:15 +01:00
parent c9628e2034
commit b00f197be3

View file

@ -630,6 +630,7 @@ void Clipper::RemoveClipRange(int start, int end)
else if (node->start < start && node->end > end)
{
temp = NewRange(end, node->end, node->topclip, node->bottomclip);
node->end = start;
InsertRange(node, temp);
break;
}