From e769c998cf1e83400e078389eae34a283b6b300e Mon Sep 17 00:00:00 2001 From: Marcin Floryan Date: Wed, 23 Apr 2008 15:42:42 +0000 Subject: 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) --- src/extension/param/bool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/extension/param/bool.cpp') 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; -- cgit v1.2.3