diff options
Diffstat (limited to 'lisp/pdf-cache.el')
| -rw-r--r-- | lisp/pdf-cache.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/pdf-cache.el b/lisp/pdf-cache.el index 31073ff..650ff36 100644 --- a/lisp/pdf-cache.el +++ b/lisp/pdf-cache.el @@ -429,9 +429,9 @@ WINDOW and IMAGE-WIDTH decide the page and scale of the final image." (pdf-cache-lookup-image page image-width - (if (not pdf-view-use-scaling) - image-width - (* 2 image-width)))) + (if pdf-view-use-scaling + (* 2 image-width) + image-width))) (setq page (pop pdf-cache--prefetch-pages))) (pdf-util-debug (when (null page) |
