Fix pdfioPageGetBoolean implementation.

This commit is contained in:
Michael R Sweet
2026-02-14 15:53:05 -05:00
parent d6e4570c2e
commit 96840e97c5

View File

@@ -126,10 +126,10 @@ pdfioPageGetBoolean(pdfio_obj_t *page, // I - Page object
// Dictionary value
if (v && v->type == PDFIO_VALTYPE_ARRAY)
if (v && v->type == PDFIO_VALTYPE_BOOLEAN)
return (v->value.boolean);
else
return (NULL);
return (false);
}