Fully implement arbitrary delimiters on DATA LIST, extending the half
[pspp-builds.git] / src / mis-val.c
index 66ceb9ce0886c1d92103de8d860cabecaf4aace3..f388583a33483d73f35d4366ece8b3b44ffbc5e7 100644 (file)
@@ -315,7 +315,7 @@ parse_alpha (void)
          msg (SE, _("String is not of proper length."));
          return 0;
        }
-      strncpy (missing[miss_type].s, ds_value (&tokstr), MAX_SHORT_STRING);
+      strncpy (missing[miss_type].s, ds_c_str (&tokstr), MAX_SHORT_STRING);
       lex_get ();
       lex_match (',');
     }