From 226f16ddf41619caea347228322851835b4d1045 Mon Sep 17 00:00:00 2001 From: yzrh Date: Fri, 30 Dec 2022 12:20:49 +0000 Subject: Handle HN page with figure only. Signed-off-by: yzrh --- src/pdf_get.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pdf_get.c') diff --git a/src/pdf_get.c b/src/pdf_get.c index a72c68d..bde5bf2 100644 --- a/src/pdf_get.c +++ b/src/pdf_get.c @@ -89,7 +89,7 @@ pdf_get_free_id(pdf_object_t **pdf) int id = 0; - for (int i = 1; i < 99999999; i++) { + for (int i = 1; i < 100000000; i++) { ptr = (*pdf)->next; while (ptr != NULL) { if (ptr->id == i) { @@ -123,7 +123,7 @@ pdf_get_free_ids(pdf_object_t **pdf, int **ids, int count) int id = 0; pdf_object_t *ptr; - for (int i = 1; i < 99999999; i++) { + for (int i = 1; i < 100000000; i++) { ptr = (*pdf)->next; while (ptr != NULL) { if (ptr->id == i) { -- cgit v1.2.3