summaryrefslogtreecommitdiff
path: root/backend/dvi/dvi-document.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-11-05 14:42:20 +0300
committermonsta <[email protected]>2015-11-05 14:42:20 +0300
commitaa97fdc1e1dc9ca08e70cbba9038da03f14d6261 (patch)
tree23ac08d0102682d2b178a2895890deee0c97a478 /backend/dvi/dvi-document.c
parente36f62aae535f3548e23da5f16733c24165b2e8a (diff)
downloadatril-aa97fdc1e1dc9ca08e70cbba9038da03f14d6261.tar.bz2
atril-aa97fdc1e1dc9ca08e70cbba9038da03f14d6261.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/dvi/dvi-document.c')
-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,