summaryrefslogtreecommitdiff
path: root/lisp/doc-view.el
diff options
context:
space:
mode:
authorTassilo Horn <tassilo@member.fsf.org>2011-01-05 22:54:23 +0100
committerTassilo Horn <tassilo@member.fsf.org>2011-01-05 22:54:23 +0100
commitf77ca003443c9d2bc87eb403e4c9a9a651d67ada (patch)
treefa5f4bd27855c2b56e6b5092bb7f760c23114f48 /lisp/doc-view.el
parent875c044ae22139b0cf36d99ccf7009d038296fea (diff)
downloademacs-f77ca003443c9d2bc87eb403e4c9a9a651d67ada.tar.gz
emacs-f77ca003443c9d2bc87eb403e4c9a9a651d67ada.tar.bz2
emacs-f77ca003443c9d2bc87eb403e4c9a9a651d67ada.zip
Fix bug in doc-view-enlarge.
Diffstat (limited to 'lisp/doc-view.el')
-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)))