From: malc Date: Tue, 5 Feb 2013 17:39:50 +0000 (+0400) Subject: Fix text selection X-Git-Tag: v14~38 X-Git-Url: https://repo.or.cz/w/llpp.git/commitdiff_plain/30e7f0de3b0f634202814d3d9fa584541d03c436 Fix text selection --- diff --git a/link.c b/link.c index 66afbba..2e928d5 100644 --- a/link.c +++ b/link.c @@ -1926,6 +1926,7 @@ static void showsel (struct page *page, int ox, int oy) for (line = block->lines; line < block->lines + block->len; ++line) { + rect = fz_empty_rect; for (span = line->spans; span < line->spans + line->len; ++span) {