projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DO REPEAT: Order PRINT output correctly.
[pspp]
/
src
/
output
/
spv
/
spv.c
diff --git
a/src/output/spv/spv.c
b/src/output/spv/spv.c
index 38abf9775c87cb93ab5e9d385712c8821612d656..7a3dae4d3d4a733834bf534534a1483b9ae9772e 100644
(file)
--- a/
src/output/spv/spv.c
+++ b/
src/output/spv/spv.c
@@
-321,6
+321,9
@@
decode_page_paragraph (const struct spvsx_page_paragraph *page_paragraph,
{
memset (ph, 0, sizeof *ph);
{
memset (ph, 0, sizeof *ph);
+ if (!page_paragraph)
+ return;
+
const struct spvsx_page_paragraph_text *page_paragraph_text
= page_paragraph->page_paragraph_text;
if (!page_paragraph_text)
const struct spvsx_page_paragraph_text *page_paragraph_text
= page_paragraph->page_paragraph_text;
if (!page_paragraph_text)
@@
-887,7
+890,7
@@
spv_decode_fmt_spec (uint32_t u32, struct fmt_spec *out)
if (ok)
{
fmt_fix_output (out);
if (ok)
{
fmt_fix_output (out);
- ok = fmt_check_width_compat (out, 0);
+ ok = fmt_check_width_compat (
*
out, 0);
}
if (!ok)
}
if (!ok)