changeset 39518:db80e2ff68e8

(gs-set-ghostview-window-prop): Fix args of `elt'.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 01 Oct 2001 09:31:47 +0000
parents 81ce748b1748
children 865d22a5dca3
files lisp/gs.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gs.el	Mon Oct 01 07:38:27 2001 +0000
+++ b/lisp/gs.el	Mon Oct 01 09:31:47 2001 +0000
@@ -115,10 +115,10 @@
 requested image, and IMG-HEIGHT is the height of the requested
 image in pixels."
   (let* ((box (plist-get (cdr spec) :bounding-box))
-	 (llx (elt 0 box))
-	 (lly (elt 1 box))
-	 (urx (elt 2 box))
-	 (ury (elt 3 box))
+	 (llx (elt box 0))
+	 (lly (elt box 1))
+	 (urx (elt box 2))
+	 (ury (elt box 3))
 	 (rotation (or (plist-get (cdr spec) :rotate) 0))
 	 ;; The pixel width IMG-WIDTH of the pixmap gives the
 	 ;; dots, URX - LLX give the inch.