mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2026-02-16 06:49:29 +01:00
Fix pdfioPageGetBoolean implementation.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user