value: Get rid of value_str(), value_str_rw(), value_num().
[pspp] / src / language / dictionary / mrsets.c
index 97ab2c1fb4ffdded42110f9812ef73d3454a777b..4a01ddd49f165c84ed1906bc93e037e14193a4be 100644 (file)
@@ -170,7 +170,7 @@ parse_group (struct lexer *lexer, struct dictionary *dict,
 
               value_destroy (&mrset->counted, mrset->width);
               value_init (&mrset->counted, width);
-              memcpy (value_str_rw (&mrset->counted, width), s, width);
+              memcpy (mrset->counted.s, s, width);
               mrset->width = width;
 
               free (s);