]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/ui/gadgets/tables/tables.factor
core: Change lines -> read-lines, contents -> read-contents, string-lines -> lines
[factor.git] / basis / ui / gadgets / tables / tables.factor
index db685b64e4a39239a71f5543902a1fec06b6e1e0..fd9550e9490cd6375d9c6a8f98981366b734fcd6 100644 (file)
@@ -71,7 +71,7 @@ M: f cell-dim 2drop 0 0 0 ;
 M: f draw-cell 2drop ;
 
 : single-line ( str -- str' )
-    dup [ "\r\n" member? ] any? [ string-lines " " join ] when ;
+    dup [ "\r\n" member? ] any? [ lines " " join ] when ;
 
 M: string cell-dim single-line text-dim first2 ceiling 0 ;
 M: string draw-cell single-line draw-text ;