]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix bug in doc-view-enlarge.
authorTassilo Horn <tassilo@member.fsf.org>
Wed, 5 Jan 2011 21:54:23 +0000 (22:54 +0100)
committerTassilo Horn <tassilo@member.fsf.org>
Wed, 5 Jan 2011 21:54:23 +0000 (22:54 +0100)
lisp/doc-view.el

index 7ec8b3954e06a9e8346d0ce0731c2cf719243e9e..fce3597409c719448e0a9a85e19481ed3a48c3d2 100644 (file)
@@ -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)))