projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
spv-light-decoder: Support special format 40 in decode_spvlb_value().
[pspp]
/
src
/
output
/
spv
/
spv-light-decoder.c
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;