From aa97fdc1e1dc9ca08e70cbba9038da03f14d6261 Mon Sep 17 00:00:00 2001 From: monsta Date: Thu, 5 Nov 2015 14:42:20 +0300 Subject: 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 --- backend/dvi/dvi-document.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') 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, -- cgit v1.2.1