reduce size of context, fix double support in template
[tedtools.git] / template.c
index 9e22f18..fbc971e 100644 (file)
@@ -1051,7 +1051,7 @@ int
 setTemplateValueDouble( TemplateInstance tmpl, char * key, double val ) {
        storage.flags = TND_DEFINED;
        storage.type = valueDouble;
-       storage.value.boolValue = val;
+       storage.value.doubleValue = val;
        return setTemplateValue( tmpl, key );
 }