diff options
author | yzrh <yzrh@noema.org> | 2022-12-30 12:20:49 +0000 |
---|---|---|
committer | yzrh <yzrh@noema.org> | 2022-12-30 15:04:32 +0000 |
commit | 226f16ddf41619caea347228322851835b4d1045 (patch) | |
tree | 3ebe081c6e603c2471d542dac871130fba271179 /src/pdf_get.c | |
parent | 9646ee61c355a97ad47d20ec3e3d77bceee34b07 (diff) | |
download | melon-226f16ddf41619caea347228322851835b4d1045.tar.gz melon-226f16ddf41619caea347228322851835b4d1045.tar.zst |
Handle HN page with figure only.
Signed-off-by: yzrh <yzrh@noema.org>
Diffstat (limited to 'src/pdf_get.c')
-rw-r--r-- | src/pdf_get.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |