cpml: correct close bug in cpml_segment_reverse
commit502acde467d3708da598849878e0b10be7c17c05
authorNicola Fontana <ntd@entidi.it>
Sun, 1 Feb 2015 20:47:11 +0000 (1 21:47 +0100)
committerNicola Fontana <ntd@entidi.it>
Sun, 1 Feb 2015 20:47:11 +0000 (1 21:47 +0100)
tree37dfda59fa95ef4f3e1189a9e744692a1ede8e80
parent03bbd3cbbc655bc1cf2fcb11bbf846af42f9ad6c
cpml: correct close bug in cpml_segment_reverse

A CPML_CLOSE primitive does not have a trailing point, as in the
CPML_LINE case. They were previously treated in the same way, crashing
the program when looking up this phantom data point.
src/cpml/cpml-segment.c