Code

fix the undo-while-drawing crash in star and spiral
[inkscape.git] / src / spiral-context.cpp
index f912d66146b138aa9f21ceb4f07f92effdc8ed0b..bdc7c65c70bb5c2532127f1c0b1f9a2b796c8ef0 100644 (file)
@@ -456,7 +456,7 @@ sp_spiral_finish(SPSpiralContext *sc)
         SPSpiral  *spiral = SP_SPIRAL(sc->item);
 
         sp_shape_set_shape(SP_SHAPE(spiral));
-        SP_OBJECT(spiral)->updateRepr(NULL, SP_OBJECT_WRITE_EXT);
+        SP_OBJECT(spiral)->updateRepr(SP_OBJECT_WRITE_EXT);
 
         sp_canvas_end_forced_full_redraws(desktop->canvas);