summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-11-05 14:42:20 +0300
committerWolfgang Ulbrich <[email protected]>2015-11-07 12:54:18 +0100
commit812e6e2d7d337b00140d7cd50762bdaa9fe9c556 (patch)
tree05be8b878dc217a38ff6d83cddced1f89719295a /backend
parent38a9153150d3da3f880bb90f6ead50fdca05e58d (diff)
downloadatril-812e6e2d7d337b00140d7cd50762bdaa9fe9c556.tar.bz2
atril-812e6e2d7d337b00140d7cd50762bdaa9fe9c556.tar.xz
dvi: fix crash due to regression
fixes https://github.com/mate-desktop/atril/issues/164 regression has been introduced in https://github.com/mate-desktop/atril/commit/94dcb761b95ee54ef1f1512d59721932d75ffb7f
Diffstat (limited to 'backend')
-rw-r--r--backend/dvi/dvi-document.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/dvi/dvi-document.c b/backend/dvi/dvi-document.c
index 77065361..304283d7 100644
--- a/backend/dvi/dvi-document.c
+++ b/backend/dvi/dvi-document.c
@@ -177,7 +177,7 @@ dvi_document_render (EvDocument *document,
*/
g_mutex_lock (&dvi_context_mutex);
- mdvi_setpage (&dvi_document->context, rc->page->index);
+ mdvi_setpage (dvi_document->context, rc->page->index);
mdvi_set_shrink (dvi_document->context,
(int)((dvi_document->params->hshrink - 1) / rc->scale) + 1,