Code

Prevent a redundant closing line segment being added when converting