cleanup
[pspp] / src / data / sys-file-private.c
index 74b0208b9387e9804f6ae725c1cf771ce3de9672..88bac17294700d1d41b8dd94197146da9e1a1ace 100644 (file)
@@ -232,7 +232,7 @@ sfm_dictionary_to_sfm_vars (const struct dictionary *dict,
               sv = &(*sfm_vars)[(*sfm_n_vars)++];
               sv->var_width = width;
               sv->segment_width = width == 0 ? 0 : used_bytes;
-              sv->case_index = var_get_case_index (dv);
+              sv->case_index = var_get_dict_index (dv);
               sv->offset = sfm_segment_offset (width, j);
               sv->padding = padding;
             }