]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/ui/ui.factor
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places...
[factor.git] / basis / ui / ui.factor
index 2486e701c0cec64c26cffb529785dc88575fdcfa..aa3c549cf0e2fdeb7c98a25592d8a31184809766 100644 (file)
@@ -26,7 +26,7 @@ SYMBOL: windows
     #! etc.
     swap 2array windows get-global push
     windows get-global dup length 1 >
-    [ [ length 1- dup 1- ] keep exchange ] [ drop ] if ;
+    [ [ length 1 - dup 1 - ] keep exchange ] [ drop ] if ;
 
 : unregister-window ( handle -- )
     windows [ [ first = not ] with filter ] change-global ;