Finish converting struct variable to an opaque type. In this
[pspp-builds.git] / src / ui / gui / psppire-var-store.c
index eb97401eb793a608ea8d86f69b3036ac135b7de8..daeeb23e56569427825ff1d4cd362b9129605550 100644 (file)
@@ -156,7 +156,7 @@ psppire_var_store_item_editable(PsppireVarStore *var_store, gint row, gint colum
   if ( !pv ) 
     return TRUE;
 
-  if ( ALPHA == psppire_variable_get_type(pv) && column == COL_DECIMALS ) 
+  if ( VAR_STRING == psppire_variable_get_type(pv) && column == COL_DECIMALS ) 
     return FALSE;
 
   write_spec = psppire_variable_get_write_spec(pv);