diff options
| author | Kees Cook <kees@outflux.net> | 2007-01-13 07:28:41 +0000 |
|---|---|---|
| committer | keescook <keescook@users.sourceforge.net> | 2007-01-13 07:28:41 +0000 |
| commit | d51c37d151d2e080aec01158d77eaadd0b213e13 (patch) | |
| tree | 74ceffd02b0ad1b5d8ae176ac5e830278dc32a5f /src/inkscape.cpp | |
| parent | full correction for rest of test builds (diff) | |
| download | inkscape-d51c37d151d2e080aec01158d77eaadd0b213e13.tar.gz inkscape-d51c37d151d2e080aec01158d77eaadd0b213e13.zip | |
fixes for style-test prefs crashes
(bzr r2202)
Diffstat (limited to 'src/inkscape.cpp')
| -rw-r--r-- | src/inkscape.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp index d3cc1aa00..b7af482b2 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -713,6 +713,7 @@ inkscape_get_repr (Inkscape::Application *inkscape, const gchar *key) } Inkscape::XML::Node *repr = sp_repr_document_root (Inkscape::Preferences::get()); + if (!repr) return NULL; g_assert (!(strcmp (repr->name(), "inkscape"))); gchar const *s = key; |
