pspp-cvs
[Top][All Lists]
Advanced

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

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


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/src/data-out.c
Date: Sat, 10 Dec 2005 21:48:48 -0500

Index: pspp/src/data-out.c
diff -u pspp/src/data-out.c:1.20 pspp/src/data-out.c:1.21
--- pspp/src/data-out.c:1.20    Sat Nov 26 22:49:57 2005
+++ pspp/src/data-out.c Sun Dec 11 02:48:45 2005
@@ -965,7 +965,7 @@
 static int
 try_CCx (char *dst, const struct fmt_spec *fp, double number)
 {
-  const struct set_cust_currency *cc = get_cc(fp->type - FMT_CCA);
+  const struct custom_currency *cc = get_cc(fp->type - FMT_CCA);
 
   struct fmt_spec f;
 
@@ -975,7 +975,7 @@
 
   /* Determine length available, decimal character for number
      proper. */
-  f.type = cc->decimal == get_decimal() ? FMT_COMMA : FMT_DOT;
+  f.type = cc->decimal == get_decimal () ? FMT_COMMA : FMT_DOT;
   f.w = fp->w - strlen (cc->prefix) - strlen (cc->suffix);
   if (number < 0)
     f.w -= strlen (cc->neg_prefix) + strlen (cc->neg_suffix) - 1;




reply via email to

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