projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e987cd
)
spv-light-decoder: Support special format 40 in decode_spvlb_value().
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 10 Jan 2021 03:25:34 +0000
(19:25 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 10 Jan 2021 03:25:34 +0000
(19:25 -0800)
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
patch
|
blob
|
history
diff --git
a/src/output/spv/spv-light-decoder.c
b/src/output/spv/spv-light-decoder.c
index 8426b251dc231378f0ca3db32fa6e560279f27c7..0ce5c06924c3c52e78952e752dba1eecab431640 100644
(file)
--- 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;