]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/ui/backend/cocoa/views/views.factor
basis/extra: replace "/ >integer" with "/i" in a few places.
[factor.git] / basis / ui / backend / cocoa / views / views.factor
index 62e04d8f9eeeaa4d25e819a665bb875e33392241..0d79bbe36c32ddb6e36e7f3480ab776a6fae9253 100644 (file)
@@ -195,7 +195,7 @@ IMPORT: NSAttributedString
     0 utf16-index 2 * str utf16n encode subseq utf16n decode length ;
 
 :: >utf16-index ( str codepoint-index -- utf16-index )
-    0 codepoint-index str subseq utf16n encode length 2 / >integer ;
+    0 codepoint-index str subseq utf16n encode length 2 /i ;
 
 :: earlier-caret/mark ( editor -- loc )
     editor editor-caret :> caret