]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix string>gesture for gestures involving SPACE
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Thu, 5 Mar 2009 22:33:20 +0000 (16:33 -0600)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Thu, 5 Mar 2009 22:33:20 +0000 (16:33 -0600)
basis/ui/gestures/gestures.factor

index c53c708bcffde81bed8db7b5d1e65ea3ad70305e..744cb1dc50e0df85ed604b636d134c8f2a662ea1 100644 (file)
@@ -309,7 +309,7 @@ M: object modifiers>string
 M: key-down gesture>string
     [ mods>> ] [ sym>> ] bi
     {
-        { [ dup { [ length 1 = ] [ first Letter? ] } 1&& ] [ [ S+ prefix ] dip ] }
+        { [ dup { [ length 1 = ] [ first LETTER? ] } 1&& ] [ [ S+ prefix ] dip ] }
         { [ dup " " = ] [ drop "SPACE" ] }
         [ >upper ]
     } cond