Another fix for ccl_qual_dup
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 21 Jun 2011 10:38:27 +0000 (12:38 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 21 Jun 2011 10:38:27 +0000 (12:38 +0200)
src/cclqual.c

index e0761b8..2a27ffc 100644 (file)
@@ -281,6 +281,7 @@ CCL_bibset ccl_qual_dup(CCL_bibset b)
             (*attrp)->next = 0;
             (*attrp)->set = attr->set ? xstrdup(attr->set) : 0;
             (*attrp)->type = attr->type;
+            (*attrp)->kind = attr->kind;
             if (attr->kind == CCL_RPN_ATTR_NUMERIC)
                 (*attrp)->value.numeric = attr->value.numeric;
             else if (attr->kind == CCL_RPN_ATTR_STRING)