summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d05e374)
raw | patch | inline | side by side (parent: d05e374)
author | mfloryan <mfloryan@users.sourceforge.net> | |
Thu, 17 Apr 2008 16:14:20 +0000 (16:14 +0000) | ||
committer | mfloryan <mfloryan@users.sourceforge.net> | |
Thu, 17 Apr 2008 16:14:20 +0000 (16:14 +0000) |
src/extension/effect.cpp | patch | blob | history | |
src/extension/output.cpp | patch | blob | history |
index a45ef019953d27c009afae3957c586452db0c87a..b4eeb9c9a5aa88f5c029f1ede2ebd8a817f9dbb1 100644 (file)
--- a/src/extension/effect.cpp
+++ b/src/extension/effect.cpp
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;
}
}
index 3f8c17fb1c51867bb739c98f6a8e6bfc615dea0d..e4a7bc5fc8d02137a2b90648b1ec58a9f725ca42 100644 (file)
--- a/src/extension/output.cpp
+++ b/src/extension/output.cpp
filetypetooltip = g_strdup(sp_repr_children(child_repr)->content());
}
if (!strcmp(chname, "dataloss")) {
- if (!strcmp(sp_repr_children(child_repr)->content(), "FALSE")) {
+ if (!strcmp(sp_repr_children(child_repr)->content(), "false")) {
dataloss = FALSE;
}
}