Fully implement arbitrary delimiters on DATA LIST, extending the half
[pspp-builds.git] / src / count.c
index 058d60d539d81f71c7880b703fc9f1a1c62e06ad..dd88e01a62aeac8d4bf845af1ae0f9c06584c524 100644 (file)
@@ -347,7 +347,7 @@ parse_string_criteria (struct counting * c)
       cur = &c->crit.s[n++];
       cur->type = CNT_SINGLE;
       cur->s = malloc (len + 1);
-      st_pad_copy (cur->s, ds_value (&tokstr), len + 1);
+      st_pad_copy (cur->s, ds_c_str (&tokstr), len + 1);
       lex_get ();
 
       lex_match (',');