X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fsyntax-gen.c;h=bf1ee12f244caadbfc4197c0b7be466c7660a51e;hb=5c3291dc396b795696e94f47780308fd7ace6fc4;hp=84415c3e92f38adac840c6842c433c2b8aeab49d;hpb=57e1bd2b5e86c0f47ed8fcc23c4945034afb2053;p=pspp-builds.git diff --git a/src/ui/syntax-gen.c b/src/ui/syntax-gen.c index 84415c3e..bf1ee12f 100644 --- a/src/ui/syntax-gen.c +++ b/src/ui/syntax-gen.c @@ -194,7 +194,7 @@ syntax_gen_value (struct string *output, const union value *value, int width, if (width == 0) syntax_gen_number (output, value->f, format); else - syntax_gen_string (output, ss_buffer (value->s, width)); + syntax_gen_string (output, ss_buffer (value_str (value, width), width)); } /* Appends THRU to OUTPUT. If LOW is LOWEST, then