diff options
| author | Martin Owens <doctormo@gmail.com> | 2018-09-27 00:33:13 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2018-09-27 00:33:13 +0000 |
| commit | d8d99efc5a827e7cedbc228fbfe536bc5e5ed9fb (patch) | |
| tree | 33f9e2b5699b07343dae5a5060953d541d97d1cd | |
| parent | Fix crash in URL get_value when url not set. (diff) | |
| download | inkscape-d8d99efc5a827e7cedbc228fbfe536bc5e5ed9fb.tar.gz inkscape-d8d99efc5a827e7cedbc228fbfe536bc5e5ed9fb.zip | |
Fix crash in fill and stroke dialog
| -rw-r--r-- | src/style-internal.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 ); |
