From: John Darrington Date: Sat, 14 Jul 2012 17:38:46 +0000 (+0200) Subject: Fixed bug where psppire crashed after selecting custom currency type. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=71217a5a5fae81bec47e76138d6ca23cb46c6119;p=pspp Fixed bug where psppire crashed after selecting custom currency type. Reviewed-by: Ben Pfaff --- diff --git a/src/ui/gui/psppire-var-sheet.c b/src/ui/gui/psppire-var-sheet.c index 222694dcec..03d43dd9c2 100644 --- a/src/ui/gui/psppire-var-sheet.c +++ b/src/ui/gui/psppire-var-sheet.c @@ -1164,7 +1164,7 @@ psppire_var_sheet_init (PsppireVarSheet *obj) GList *list; obj->dict = NULL; - obj->format_use = PSPPIRE_TYPE_FMT_USE; + obj->format_use = FMT_FOR_OUTPUT; obj->may_create_vars = TRUE; obj->may_delete_vars = TRUE;