]> gitweb.factorcode.org Git - factor.git/commitdiff
ui.tools.listener: need to check vocab and manifest not vocab and word.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 2 Jan 2022 19:18:19 +0000 (11:18 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 2 Jan 2022 19:18:19 +0000 (11:18 -0800)
basis/ui/tools/listener/listener.factor

index 06ee4c38f1d649c35cc75fd4661bf011ad84fe7a..d3d5d971466d0aa5264e07432501bd5a741c0ef3 100644 (file)
@@ -318,7 +318,7 @@ M: listener-operation invoke-command
     [ [ clear ] \ clear ] dip (call-listener) ;
 
 : use-if-necessary ( word manifest -- )
-    [ [ vocabulary>> ] keep ] dip 2over and [
+    [ [ vocabulary>> ] keep ] dip pick over and [
         manifest [
             [ drop use-vocab ]
             [ name>> 1array add-words-from ] 2bi