diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/inkscape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp index af6ef4f05..829aacdc9 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -727,7 +727,7 @@ inkscape_load_menus (Inkscape::Application *inkscape) Inkscape::XML::Node * inkscape_get_repr (Inkscape::Application *inkscape, const gchar *key) { - if (key == NULL) { + if ( (key == NULL) || (inkscape == NULL) ) { return NULL; } |
