From d8d99efc5a827e7cedbc228fbfe536bc5e5ed9fb Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Wed, 26 Sep 2018 20:33:13 -0400 Subject: Fix crash in fill and stroke dialog --- src/style-internal.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/style-internal.cpp') diff --git a/src/style-internal.cpp b/src/style-internal.cpp index f9c550684..00d7d64c2 100644 --- a/src/style-internal.cpp +++ b/src/style-internal.cpp @@ -1041,6 +1041,7 @@ SPIString::read( gchar const *str ) { const Glib::ustring SPIString::get_value() const { if (this->inherit) return Glib::ustring("inherit"); + if (!this->value) return Glib::ustring(""); if( name.compare( "font-family" ) == 0 ) { Glib::ustring font_family( this->value ); css_font_family_quote( font_family ); -- cgit v1.2.3