projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the ability to sort the working file.
[pspp-builds.git]
/
src
/
ui
/
gui
/
psppire-data-store.c
diff --git
a/src/ui/gui/psppire-data-store.c
b/src/ui/gui/psppire-data-store.c
index 4471a866ca0374d5f4491a1d73e520a5a087b21c..6df379731695183763f4a39af44470d0c7e327f3 100644
(file)
--- 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);
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);
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);
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;
if ( psppire_variable_get_type(pv) == NUMERIC)
v.f = SYSMIS;
@@
-490,7
+490,7
@@
psppire_data_store_set_string(GSheetModel *model,
#endif
{
#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;
struct data_in d_in;
d_in.s = text;