From 3fc04008f4e0a56d17e056c28762893b8aa6a91b Mon Sep 17 00:00:00 2001 From: ishmal Date: Tue, 20 Feb 2007 21:03:56 +0000 Subject: [PATCH] Improve null check --- src/xml/event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xml/event.cpp b/src/xml/event.cpp index cc130042e..40f3029e1 100644 --- a/src/xml/event.cpp +++ b/src/xml/event.cpp @@ -138,7 +138,7 @@ sp_repr_undo_log (Inkscape::XML::Event *log) EventTracker > tracker("undo-log"); - if (log) { + if (log && log->repr) { g_assert(!log->repr->document()->inTransaction()); } -- 2.30.2