From: Ben Pfaff Date: Sun, 10 Jan 2021 03:25:34 +0000 (-0800) Subject: spv-light-decoder: Support special format 40 in decode_spvlb_value(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=342054b3c99a69d3ce8be3ae3ee571a4cfad3073;p=pspp spv-light-decoder: Support special format 40 in decode_spvlb_value(). This was overlooked in implementing the format in commit 5bf763272ad7 ("spv-file-format: Describe format 40 and the meaning of 'small'.") --- diff --git a/src/output/spv/spv-light-decoder.c b/src/output/spv/spv-light-decoder.c index 8426b251dc..0ce5c06924 100644 --- a/src/output/spv/spv-light-decoder.c +++ b/src/output/spv/spv-light-decoder.c @@ -302,6 +302,7 @@ decode_spvlb_value (const struct pivot_table *table, out->type = PIVOT_VALUE_NUMERIC; out->numeric.x = in->type_01.x; error = spv_decode_fmt_spec (in->type_01.format, &out->numeric.format); + out->numeric.honor_small = (in->type_01.format >> 16) == 40; if (error) return error; break;