X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fsyntax-gen.c;h=54a7845b70d44722c6b3bcb531def0556a3365fd;hb=d98583b9425b8a053dc21b539203406bac74adc5;hp=b338bdf9c4c742dc07dc81d393a37accdc9281ec;hpb=07da9f454c17fb961cae09f6d7d505f7abb281c0;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;