diff options
author | monsta <[email protected]> | 2016-07-28 14:54:12 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-07-28 14:54:12 +0300 |
commit | 5c2670ca99f29b41e047048db05456d3d3487c89 (patch) | |
tree | 1c658aafbba505b975737aeb305f075405bf5e72 /backend | |
parent | 164a3114970af7d56ddf4d4223fbe51ed46b59ed (diff) | |
download | atril-5c2670ca99f29b41e047048db05456d3d3487c89.tar.bz2 atril-5c2670ca99f29b41e047048db05456d3d3487c89.tar.xz |
djvu: remove unneeded assignment
from
https://git.gnome.org/browse/evince/commit/?id=d5ab5564e1b2e99e4939a4fb5a683e9be814bcbe
Diffstat (limited to 'backend')
-rw-r--r-- | backend/djvu/djvu-document.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/backend/djvu/djvu-document.c b/backend/djvu/djvu-document.c index 3cdb7043..65f7f0f4 100644 --- a/backend/djvu/djvu-document.c +++ b/backend/djvu/djvu-document.c @@ -667,14 +667,11 @@ djvu_document_find_find_text (EvDocumentFind *document, document_get_page_size (djvu_document, page->index, &width, &height); for (l = matches; l && l->data; l = g_list_next (l)) { EvRectangle *r = (EvRectangle *)l->data; - gdouble tmp; + gdouble tmp = r->y1; - tmp = r->y1; - r->x1 *= SCALE_FACTOR; r->x2 *= SCALE_FACTOR; - tmp = r->y1; r->y1 = height - r->y2 * SCALE_FACTOR; r->y2 = height - tmp * SCALE_FACTOR; } |