]> gitweb.factorcode.org Git - factor.git/commitdiff
wrap.words: missed this commit.
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 3 Aug 2012 15:44:22 +0000 (08:44 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 3 Aug 2012 15:44:22 +0000 (08:44 -0700)
basis/wrap/words/words.factor

index 40387559d4c88291b893d0ee1dcfa7a365ad7fcf..f282658d68b09df7dc3b5567c40f8e764106b10b 100644 (file)
@@ -16,7 +16,7 @@ C: <word> word
     [ append ] [ [ words-length ] bi@ ] 2bi <element> ;
 
 : ?first2 ( seq -- first/f second/f )
-    dup length dup 1 > [ first2-unsafe ] [
+    dup length dup 1 > [ drop first2-unsafe ] [
         0 > [ first-unsafe f ] [ drop f f ] if
     ] if ;