X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Flanguage%2Fdata-io%2Fmatrix-data.c;h=d5b489c34cd1dac103bd7fc492d8b89949aa9a19;hb=505d1c592469ea99da7723c2770f13f5dc965046;hp=eb2d226f29341bbe4933f3219f8ca005c98bd941;hpb=0d7b430cd1cef60b963a54307622d6f4aa8efeb4;p=pspp-builds.git diff --git a/src/language/data-io/matrix-data.c b/src/language/data-io/matrix-data.c index eb2d226f..d5b489c3 100644 --- a/src/language/data-io/matrix-data.c +++ b/src/language/data-io/matrix-data.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -40,7 +41,6 @@ #include #include #include -#include #include "gettext.h" #define _(msgid) gettext (msgid) @@ -972,7 +972,8 @@ read_matrices_without_rowtype (struct matrix_data_pgm *mx) nr.split_values = xnmalloc (dict_get_split_cnt (default_dict), sizeof *nr.split_values); - vfm_source = create_case_source (&matrix_data_without_rowtype_source_class, &nr); + proc_set_source (create_case_source ( + &matrix_data_without_rowtype_source_class, &nr)); ok = procedure (NULL, NULL); @@ -1512,8 +1513,8 @@ read_matrices_with_rowtype (struct matrix_data_pgm *mx) wr.current = NULL; mx->cells = 0; - vfm_source = create_case_source (&matrix_data_with_rowtype_source_class, - &wr); + proc_set_source (create_case_source (&matrix_data_with_rowtype_source_class, + &wr)); ok = procedure (NULL, NULL); free (wr.split_values);