diff options
| author | Ted Gould <ted@gould.cx> | 2007-03-01 07:14:01 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2007-03-01 07:14:01 +0000 |
| commit | 96d40c206e6e469287e7c790b6ecfbd36b7593e1 (patch) | |
| tree | 36574180c812efd8ffc4364403c0fde6b5961298 /src/extension/effect.cpp | |
| parent | r14577@tres: ted | 2007-02-27 18:51:05 -0800 (diff) | |
| download | inkscape-96d40c206e6e469287e7c790b6ecfbd36b7593e1.tar.gz inkscape-96d40c206e6e469287e7c790b6ecfbd36b7593e1.zip | |
r14578@tres: ted | 2007-02-27 18:59:35 -0800
Protecting against the posibility of the INKSCAPE variable being NULL
(bzr r2475)
Diffstat (limited to 'src/extension/effect.cpp')
| -rw-r--r-- | src/extension/effect.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp index 1fef1a9db..0f9434c17 100644 --- a/src/extension/effect.cpp +++ b/src/extension/effect.cpp @@ -67,8 +67,9 @@ Effect::Effect (Inkscape::XML::Node * in_repr, Implementation::Implementation * } // children of "inkscape-extension" } // if we have an XML file - if (_effects_list == NULL) + if (_effects_list == NULL && INKSCAPE != NULL) { find_effects_list(inkscape_get_menus(INKSCAPE)); + } if (_effects_list != NULL) { Inkscape::XML::Document *xml_doc; |
