🐛 Fix allocate 0 bytes for path attrs

This commit is contained in:
Alejandro Alonso 2025-06-16 16:01:50 +02:00
parent a56822ad99
commit 1bb6f2754c

View file

@ -739,7 +739,7 @@
(when (and (some? content) (when (and (some? content)
(or (= type :path) (or (= type :path)
(= type :bool))) (= type :bool)))
(when (some? svg-attrs) (when (seq svg-attrs)
(set-shape-path-attrs svg-attrs)) (set-shape-path-attrs svg-attrs))
(set-shape-path-content content)) (set-shape-path-content content))
(when (and (some? content) (= type :svg-raw)) (when (and (some? content) (= type :svg-raw))