changeset 112127:25ff862568d0

Fix bug in doc-view-enlarge.
author Tassilo Horn <tassilo@member.fsf.org>
date Wed, 05 Jan 2011 22:54:23 +0100
parents afc7f5e3ff12
children 08d91a08a7b9
files lisp/doc-view.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/doc-view.el	Wed Jan 05 22:17:51 2011 +0100
+++ b/lisp/doc-view.el	Wed Jan 05 22:54:23 2011 +0100
@@ -654,7 +654,7 @@
 	(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)))