diff options
| author | Marcin Floryan <mfloryan@mm.waw.pl> | 2008-04-17 16:14:20 +0000 |
|---|---|---|
| committer | mfloryan <mfloryan@users.sourceforge.net> | 2008-04-17 16:14:20 +0000 |
| commit | 7e31f3369d94ce2dd7401e85f000301016ce3e1f (patch) | |
| tree | 7d2b983d2f95628750fb29c34a06757248e9e61c /src/extension/effect.cpp | |
| parent | Created new Arrange submenu for effects extensions (diff) | |
| download | inkscape-7e31f3369d94ce2dd7401e85f000301016ce3e1f.tar.gz inkscape-7e31f3369d94ce2dd7401e85f000301016ce3e1f.zip | |
A small step towards making the inx files fully XML / schema compliant
(bzr r5464)
Diffstat (limited to 'src/extension/effect.cpp')
| -rw-r--r-- | src/extension/effect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp index a45ef0199..b4eeb9c9a 100644 --- a/src/extension/effect.cpp +++ b/src/extension/effect.cpp @@ -52,14 +52,14 @@ Effect::Effect (Inkscape::XML::Node * in_repr, Implementation::Implementation * for (Inkscape::XML::Node *child = sp_repr_children(repr); child != NULL; child = child->next()) { if (!strcmp(child->name(), "effect")) { - if (child->attribute("needs-document") && !strcmp(child->attribute("needs-document"), "no")) { + if (child->attribute("needs-document") && !strcmp(child->attribute("needs-document"), "false")) { no_doc = true; } for (Inkscape::XML::Node *effect_child = sp_repr_children(child); effect_child != NULL; effect_child = effect_child->next()) { if (!strcmp(effect_child->name(), "effects-menu")) { // printf("Found local effects menu in %s\n", this->get_name()); local_effects_menu = sp_repr_children(effect_child); - if (effect_child->attribute("hidden") && !strcmp(effect_child->attribute("hidden"), "yes")) { + if (effect_child->attribute("hidden") && !strcmp(effect_child->attribute("hidden"), "true")) { hidden = true; } } |
