gopher: change gopher-text to use split1.

db4
John Benediktsson 2014-12-20 12:11:23 -08:00
parent ee6ae8a63c
commit c45e4e1c68
1 changed files with 1 additions and 2 deletions

View File

@ -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* ;