X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fdata-in.c;h=a6544afbbeb7c338b10f4fe9a978c649fb910e37;hb=deb4fd96c0c171fc8eb64f7f1e7f5c2af4931416;hp=cde7c07f8c58b0272e465be98bf64e53fb330956;hpb=392ab4052e2743f80664a4130b2b4ee5d82af7fe;p=pspp diff --git a/src/data/data-in.c b/src/data/data-in.c index cde7c07f8c..a6544afbbe 100644 --- a/src/data/data-in.c +++ b/src/data/data-in.c @@ -27,6 +27,7 @@ #include #include #include +#include #include "calendar.h" #include "identifier.h" @@ -171,7 +172,10 @@ parse_number (struct data_in *i) int save_errno; char *tail; - assert (fmt_get_category (i->format) != FMT_CAT_CUSTOM); + if (fmt_get_category (i->format) == FMT_CAT_CUSTOM) + { + style = settings_get_style (FMT_F); + } /* Trim spaces and check for missing value representation. */ if (trim_spaces_and_check_missing (i))