diff options
| author | Marcin Floryan <mfloryan@mm.waw.pl> | 2008-04-23 15:42:42 +0000 |
|---|---|---|
| committer | mfloryan <mfloryan@users.sourceforge.net> | 2008-04-23 15:42:42 +0000 |
| commit | e769c998cf1e83400e078389eae34a283b6b300e (patch) | |
| tree | 955185d7563eb41c8a845cc738653a97a96c76eb /src/extension/param/bool.cpp | |
| parent | Fixed SVN properties. (diff) | |
| download | inkscape-e769c998cf1e83400e078389eae34a283b6b300e.tar.gz inkscape-e769c998cf1e83400e078389eae34a283b6b300e.zip | |
Fixed some further issues with Internal extensions after the introduction of schema for INX files (the boolean values now spelled in lower case). This fixes an intermediate problem of Inkscape concerning its native SVG files as a loosy format.
(bzr r5496)
Diffstat (limited to 'src/extension/param/bool.cpp')
| -rw-r--r-- | src/extension/param/bool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/param/bool.cpp b/src/extension/param/bool.cpp index 509ded032..ab90ddaf9 100644 --- a/src/extension/param/bool.cpp +++ b/src/extension/param/bool.cpp @@ -29,7 +29,7 @@ ParamBool::ParamBool (const gchar * name, const gchar * guitext, const gchar * d if (sp_repr_children(xml) != NULL) defaultval = sp_repr_children(xml)->content(); - if (defaultval != NULL && (!strcmp(defaultval, "TRUE") || !strcmp(defaultval, "true") || !strcmp(defaultval, "1"))) { + if (defaultval != NULL && (!strcmp(defaultval, "true") || !strcmp(defaultval, "true") || !strcmp(defaultval, "1"))) { _value = true; } else { _value = false; |
