(psppire_var_store_item_editable): Use var_is_alpha.
[pspp-builds.git] / src / ui / gui / psppire-var-store.c
index d156e79932e0fccc1a6d86b576a60105b322a8d4..58498170ea60ea05008217358ee6c8ace5d26f97 100644 (file)
@@ -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);