{
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)
if (psp)
*psp = NULL;
- struct spv_reader *spv = xzalloc (sizeof *spv);
struct zip_reader *zip;
char *error = zip_reader_create (filename, &zip);
if (error)
uint8_t w = u32 >> 8;
uint8_t d = u32;
- msg_disable ();
*out = (struct fmt_spec) { .type = FMT_F, .w = w, .d = d };
bool ok = raw_type >= 40 || fmt_from_io (raw_type, &out->type);
if (ok)
{
fmt_fix_output (out);
- ok = fmt_check_width_compat (out, 0);
+ ok = fmt_check_width_compat (*out, 0);
}
- msg_enable ();
if (!ok)
{