X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fsyntax-gen.c;h=54a7845b70d44722c6b3bcb531def0556a3365fd;hb=540e5b39fe6617203c86f4b582f35537e0fe90ef;hp=b338bdf9c4c742dc07dc81d393a37accdc9281ec;hpb=afefc84585152d079b1e4cfad47b6c74c11a0829;p=pspp diff --git a/src/ui/syntax-gen.c b/src/ui/syntax-gen.c index b338bdf9c4..54a7845b70 100644 --- a/src/ui/syntax-gen.c +++ b/src/ui/syntax-gen.c @@ -149,7 +149,7 @@ syntax_gen_number (struct string *output, { assert (format == NULL || fmt_is_numeric (format->type)); if (format != NULL - && (format->type + && (fmt_get_category (format->type) & (FMT_CAT_DATE | FMT_CAT_TIME | FMT_CAT_DATE_COMPONENT))) { union value v_in, v_out;