From: Ben Pfaff Date: Sun, 3 Jun 2007 22:03:38 +0000 (+0000) Subject: (psppire_var_store_item_editable): Use var_is_alpha. X-Git-Tag: v0.6.0~459 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8915a78655ea9ff6242ba6ba4ed4d83253a323d;p=pspp-builds.git (psppire_var_store_item_editable): Use var_is_alpha. --- diff --git a/src/ui/gui/ChangeLog b/src/ui/gui/ChangeLog index 99a50aec..82ea6d63 100644 --- a/src/ui/gui/ChangeLog +++ b/src/ui/gui/ChangeLog @@ -1,3 +1,8 @@ +2007-06-03 Ben Pfaff + + * psppire-var-store.c (psppire_var_store_item_editable): Use + var_is_alpha. + 2007-05-07 John Darrington * psppire-dialog.c psppire-dialog.h: Added "orientation" property, diff --git a/src/ui/gui/psppire-var-store.c b/src/ui/gui/psppire-var-store.c index d156e799..58498170 100644 --- 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);