From: buliabyak Date: Fri, 30 Mar 2007 07:59:10 +0000 (+0000) Subject: fix the undo-while-drawing crash in star and spiral X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=89bbc9f98437c1f2bfd9b319696b4e28cf69b4e4;p=inkscape.git fix the undo-while-drawing crash in star and spiral --- diff --git a/src/spiral-context.cpp b/src/spiral-context.cpp index f912d6614..bdc7c65c7 100644 --- a/src/spiral-context.cpp +++ b/src/spiral-context.cpp @@ -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); diff --git a/src/star-context.cpp b/src/star-context.cpp index 611866acf..d6e9f8583 100644 --- a/src/star-context.cpp +++ b/src/star-context.cpp @@ -468,7 +468,7 @@ sp_star_finish (SPStarContext * sc) sp_shape_set_shape(SP_SHAPE(sc->item)); - object->updateRepr(NULL, SP_OBJECT_WRITE_EXT); + object->updateRepr(SP_OBJECT_WRITE_EXT); sp_canvas_end_forced_full_redraws(desktop->canvas);