X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Foutput%2Fpivot-table.c;h=dc15285b48b130d0eb94b9b5ca2e2d6c557cfb6b;hb=a49b940e58f148bf111c647d9b4822025636ff80;hp=092ebfc53a9564da3d9488a3972a87231ce8f527;hpb=dc331e08118a1c299a41069f6f51183176b27621;p=pspp diff --git a/src/output/pivot-table.c b/src/output/pivot-table.c index 092ebfc53a..dc15285b48 100644 --- a/src/output/pivot-table.c +++ b/src/output/pivot-table.c @@ -2024,8 +2024,7 @@ pivot_value_new_value (const union value *value, int width, struct pivot_value *pv = xzalloc (sizeof *pv); if (width > 0) { - char *s = recode_string (UTF8, encoding, - CHAR_CAST (char *, value_str (value, width)), + char *s = recode_string (UTF8, encoding, CHAR_CAST (char *, value->s), width); size_t n = strlen (s); while (n > 0 && s[n - 1] == ' ')