From 342054b3c99a69d3ce8be3ae3ee571a4cfad3073 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 9 Jan 2021 19:25:34 -0800 Subject: [PATCH] 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'.") --- src/output/spv/spv-light-decoder.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2