Fixed minor bug in %WINDOW-HAS-UP-NEIGHBOR?.
authorMark Friedman <edu/mit/csail/zurich/markf>
Thu, 9 May 1991 15:54:11 +0000 (15:54 +0000)
committerMark Friedman <edu/mit/csail/zurich/markf>
Thu, 9 May 1991 15:54:11 +0000 (15:54 +0000)
v7/src/edwin/comwin.scm

index 99a95ccdf23a7640f1c6d19a29e83480a290198e..073b4f72498823e4678e93aa5cdf967add10c065 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;;    $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/comwin.scm,v 1.140 1991/02/15 18:12:54 cph Exp $
+;;;    $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/comwin.scm,v 1.141 1991/05/09 15:54:11 markf Exp $
 ;;;
 ;;;    Copyright (c) 1985, 1989-91 Massachusetts Institute of Technology
 ;;;
 (define (%window-has-up-neighbor? window)
   (and (combination? (window-superior window))
        (or (and (combination-vertical? (window-superior window))
-               (window-next window))
+               (window-previous window))
           (%window-has-up-neighbor? (window-superior window)))))
 
 (define (window-has-down-neighbor? leaf)