diff options
-rw-r--r-- | source/html/html-layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/html/html-layout.c b/source/html/html-layout.c index 75ee3c35..2d8abaa6 100644 --- a/source/html/html-layout.c +++ b/source/html/html-layout.c @@ -675,7 +675,7 @@ static void draw_flow_box(fz_context *ctx, fz_html *box, float page_top, float p { if (node->type == FLOW_IMAGE) { - if (node->y > page_bot || node->y + node->h < page_top) + if (node->y >= page_bot || node->y + node->h <= page_top) continue; } else |