summaryrefslogtreecommitdiff
path: root/backend/dvi
diff options
context:
space:
mode:
authorMartin Wimpress <[email protected]>2015-11-05 17:53:15 +0000
committerMartin Wimpress <[email protected]>2015-11-05 17:53:15 +0000
commitd5e103f32ad976522449cb14db9fb4ec58b73493 (patch)
tree23ac08d0102682d2b178a2895890deee0c97a478 /backend/dvi
parente36f62aae535f3548e23da5f16733c24165b2e8a (diff)
parentaa97fdc1e1dc9ca08e70cbba9038da03f14d6261 (diff)
downloadatril-d5e103f32ad976522449cb14db9fb4ec58b73493.tar.bz2
atril-d5e103f32ad976522449cb14db9fb4ec58b73493.tar.xz
Merge pull request #169 from mate-desktop/oops
dvi: fix crash due to regression
Diffstat (limited to 'backend/dvi')
-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,