aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)."
654 (set (make-local-variable 'doc-view-image-width) 654 (set (make-local-variable 'doc-view-image-width)
655 (ceiling (* factor doc-view-image-width))) 655 (ceiling (* factor doc-view-image-width)))
656 (doc-view-insert-image (plist-get (cdr (doc-view-current-image)) :file) 656 (doc-view-insert-image (plist-get (cdr (doc-view-current-image)) :file)
657 :width doc-view-resolution)) 657 :width doc-view-image-width))
658 (set (make-local-variable 'doc-view-resolution) 658 (set (make-local-variable 'doc-view-resolution)
659 (ceiling (* factor doc-view-resolution))) 659 (ceiling (* factor doc-view-resolution)))
660 (doc-view-reconvert-doc))) 660 (doc-view-reconvert-doc)))