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;h=refs%2Fbuilds%2F20120715002133%2Fpspp;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;