Commit f77ca003 authored by Tassilo Horn's avatar Tassilo Horn
Browse files

Fix bug in doc-view-enlarge.

parent 875c044a
......@@ -654,7 +654,7 @@ OpenDocument format)."
(set (make-local-variable 'doc-view-image-width)
(ceiling (* factor doc-view-image-width)))
(doc-view-insert-image (plist-get (cdr (doc-view-current-image)) :file)
:width doc-view-resolution))
:width doc-view-image-width))
(set (make-local-variable 'doc-view-resolution)
(ceiling (* factor doc-view-resolution)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment