X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata-out.c;h=c9c17a5e642fd6f14fcefe1472df9586dd44bdae;hb=0e4ef2c7099e82d8e43cf87a53c36430d1ce879f;hp=d26215a9c8cb887db2b827342c18abc7f7b5000d;hpb=6950df40513e606e6be42fa83a36a281f654d553;p=pspp diff --git a/src/data-out.c b/src/data-out.c index d26215a9c8..c9c17a5e64 100644 --- a/src/data-out.c +++ b/src/data-out.c @@ -965,7 +965,7 @@ year4 (int year) 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 @@ try_CCx (char *dst, const struct fmt_spec *fp, double number) /* 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;