Commit d54bfba9 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix #389: set causes unnecessary error for legacy drawing commands

parent 4bd1b3a6
Pipeline #1056 passed with stage
in 330 minutes and 29 seconds
......@@ -2161,9 +2161,8 @@ void svg_register_events(t_gobj *z, t_canvas *c, t_scalar *sc,
sprintf(tagbuf, "draw%lx.%lx", (long unsigned int)z,
(long unsigned int)data);
else /* legacy drawing commands: curve, drawnumber, etc. */
error("scalar: can't set event for unknown drawing command");
if (svg->x_events.e_mouseover.a_flag)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment