projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
spv-light-decoder: Fix check for valid decimal point characters.
[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 520cb2b0a066698fe6263acb2f0894a84888306b..58b5ddbe0294019cf9988c9ec1c1fb402fb12fdb 100644
(file)
--- a/
src/output/spv/spv-light-decoder.c
+++ b/
src/output/spv/spv-light-decoder.c
@@
-919,7
+919,7
@@
decode_spvlb_table (const struct spvlb_table *in, struct pivot_table **outp)
if (epoch >= 1000 && epoch <= 9999)
out->settings.epoch = epoch;
char decimal = in->formats->y0->decimal;
- if (decimal == '.' || decimal == '
.
')
+ if (decimal == '.' || decimal == '
,
')
out->settings.decimal = decimal;
else
{