summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/doc-view.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index 7ec8b3954e0..fce3597409c 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -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)))
(doc-view-reconvert-doc)))