X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-data-store.c;h=6df379731695183763f4a39af44470d0c7e327f3;hb=87b6d42a2d540b92baf0db8fe28657eda747b3b0;hp=4471a866ca0374d5f4491a1d73e520a5a087b21c;hpb=6fb2b277fd19b32f58cce5fde996208706fc9828;p=pspp-builds.git diff --git a/src/ui/gui/psppire-data-store.c b/src/ui/gui/psppire-data-store.c index 4471a866..6df37973 100644 --- a/src/ui/gui/psppire-data-store.c +++ b/src/ui/gui/psppire-data-store.c @@ -402,7 +402,7 @@ psppire_data_store_get_string(const GSheetModel *model, gint row, gint column) pv = psppire_dict_get_variable(store->dict, column); - idx = psppire_variable_get_index(pv); + idx = psppire_variable_get_fv(pv); v = psppire_case_file_get_value(store->case_file, row, idx); @@ -448,7 +448,7 @@ psppire_data_store_clear_datum(GSheetModel *model, union value v; const struct PsppireVariable *pv = psppire_dict_get_variable(store->dict, col); - const gint index = psppire_variable_get_index(pv) ; + const gint index = psppire_variable_get_fv(pv) ; if ( psppire_variable_get_type(pv) == NUMERIC) v.f = SYSMIS; @@ -490,7 +490,7 @@ psppire_data_store_set_string(GSheetModel *model, #endif { - const gint index = psppire_variable_get_index(pv); + const gint index = psppire_variable_get_fv(pv); struct data_in d_in; d_in.s = text;