projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Slightly generalize case_to_values and case_from_values functions, and
[pspp]
/
src
/
ui
/
gui
/
psppire-var-store.c
diff --git
a/src/ui/gui/psppire-var-store.c
b/src/ui/gui/psppire-var-store.c
index d156e79932e0fccc1a6d86b576a60105b322a8d4..58498170ea60ea05008217358ee6c8ace5d26f97 100644
(file)
--- a/
src/ui/gui/psppire-var-store.c
+++ b/
src/ui/gui/psppire-var-store.c
@@
-159,7
+159,7
@@
psppire_var_store_item_editable (PsppireVarStore *var_store, gint row, gint colu
if ( !pv )
return TRUE;
- if (
VAR_STRING == var_get_type
(pv) && column == COL_DECIMALS )
+ if (
var_is_alpha
(pv) && column == COL_DECIMALS )
return FALSE;
write_spec = var_get_print_format (pv);