pspp-cvs
[Top][All Lists]
Advanced

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

[Pspp-cvs] Changes to pspp/src/dictionary.c


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/src/dictionary.c
Date: Tue, 17 May 2005 01:46:43 -0400

Index: pspp/src/dictionary.c
diff -u pspp/src/dictionary.c:1.23 pspp/src/dictionary.c:1.24
--- pspp/src/dictionary.c:1.23  Mon May 16 07:33:17 2005
+++ pspp/src/dictionary.c       Tue May 17 05:46:39 2005
@@ -279,20 +279,14 @@
   v->miss_type = MISSING_NONE;
   if (v->type == NUMERIC)
     {
-      v->print.type = FMT_F;
-      v->print.w = 8;
-      v->print.d = 2;
-
+      v->print = f8_2;
       v->alignment = ALIGN_RIGHT;
       v->display_width = 8;
       v->measure = MEASURE_SCALE;
     }
   else
     {
-      v->print.type = FMT_A;
-      v->print.w = v->width;
-      v->print.d = 0;
-
+      v->print = make_output_format (FMT_A, v->width, 0);
       v->alignment = ALIGN_LEFT;
       v->display_width = 8;
       v->measure = MEASURE_NOMINAL;




reply via email to

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