Fix text selection
authormalc <av1474@comtv.ru>
Tue, 5 Feb 2013 17:39:50 +0000 (5 21:39 +0400)
committermalc <av1474@comtv.ru>
Tue, 5 Feb 2013 17:39:50 +0000 (5 21:39 +0400)
link.c

diff --git a/link.c b/link.c
index 66afbba..2e928d5 100644 (file)
--- 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) {