mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
The impl-walk, impl-reduce, and impl-lookup functions had the binary type codes for move-to and line-to swapped (1 mapped to :line-to and 2 to :move-to). This is inconsistent with from-plain, read-segment, to-string-segment*, and the Rust RawSegmentData enum which all use 1=move-to and 2=line-to. The swap caused incorrect command types to be reported to callers like get-handlers and get-points. Signed-off-by: Andrey Antukh <niwi@niwi.nz>