gopher: change gopher-text to use split1.
parent
ee6ae8a63c
commit
c45e4e1c68
|
@ -81,8 +81,7 @@ M: gopher-link >url
|
|||
] if >url ;
|
||||
|
||||
: gopher-text ( object -- lines )
|
||||
utf8 decode string-lines
|
||||
"." over index [ head ] when* ;
|
||||
utf8 decode string-lines { "." } split1 drop ;
|
||||
|
||||
: gopher-gif ( object -- image )
|
||||
"gif" (image-class) load-image* ;
|
||||
|
|
Loading…
Reference in New Issue