pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch for Custom Currency Crash in psppsheet


From: John Darrington
Subject: Patch for Custom Currency Crash in psppsheet
Date: Sat, 14 Jul 2012 06:59:04 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

This patch fixes the crash in the sheet branch when a custom currency
is selected.  I am presuming this was a typo, but am posting here 
for review, in case there is something that I am missing.

J'

diff --git a/src/ui/gui/psppire-var-sheet.c b/src/ui/gui/psppire-var-sheet.c
index 222694d..03d43dd 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;

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]