[evince] djvu: remove un-needed assignment
- From: Jose Aliste <jaliste src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] djvu: remove un-needed assignment
- Date: Wed, 30 Oct 2013 11:28:36 +0000 (UTC)
commit d5ab5564e1b2e99e4939a4fb5a683e9be814bcbe
Author: José Aliste <jaliste src gnome org>
Date: Tue Oct 29 18:51:13 2013 -0300
djvu: remove un-needed assignment
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 b3644cc..709db41 100644
--- a/backend/djvu/djvu-document.c
+++ b/backend/djvu/djvu-document.c
@@ -825,14 +825,11 @@ djvu_document_find_find_text (EvDocumentFind *document,
document_get_page_size (djvu_document, page->index, &width, &height, &dpi);
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 *= 72.0 / dpi;
r->x2 *= 72.0 / dpi;
- tmp = r->y1;
r->y1 = height - r->y2 * 72.0 / dpi;
r->y2 = height - tmp * 72.0 / dpi;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]