Remove thumb.png, now in Minos2

parent 9474980c
...@@ -46,7 +46,7 @@ SOURCES = 64bit.fs base64.fs base85.fs crypto-api.fs debugging.fs \ ...@@ -46,7 +46,7 @@ SOURCES = 64bit.fs base64.fs base85.fs crypto-api.fs debugging.fs \
android/net.fs android/notify.fs linux/net.fs linux/notify.fs \ android/net.fs android/notify.fs linux/net.fs linux/notify.fs \
dhtroot.fs dvcs.fs qrscan.fs android/qrscan-android.fs \ dhtroot.fs dvcs.fs qrscan.fs android/qrscan-android.fs \
linux/qrscan-linux.fs doc/net2o-200.png doc/net2o.png doc/user.png \ linux/qrscan-linux.fs doc/net2o-200.png doc/net2o.png doc/user.png \
doc/thumb.png json/parser.fs json/g+-schema.fs json/g+-import.fs \ json/parser.fs json/g+-schema.fs json/g+-import.fs \
json/fb-schema.fs json/twitter-schema.fs json/test.fs \ json/fb-schema.fs json/twitter-schema.fs json/test.fs \
json/test.json json/diaspora-schema.fs html/parser.fs xml/parser.fs \ json/test.json json/diaspora-schema.fs html/parser.fs xml/parser.fs \
xml/blogger-atom.fs xml/blogger-atom.fs
......
...@@ -402,12 +402,11 @@ Variable dummy-thumb# ...@@ -402,12 +402,11 @@ Variable dummy-thumb#
Variable user.png$ Variable user.png$
Variable thumb.png$ Variable thumb.png$
: ]path ( addr u -- ) : ]path ( addr u -- )
open-fpath-file throw rot close-file throw ]] SLiteral [[ file>fpath ]] SLiteral [[ ] ;
] ;
: read-user.png ( -- ) : read-user.png ( -- )
[ "doc/user.png" ]path user.png$ $slurp-file ; [ "doc/user.png" ]path user.png$ $slurp-file ;
: read-thumb.png ( -- ) : read-thumb.png ( -- )
[ "doc/thumb.png" ]path thumb.png$ $slurp-file ; [ "minos2/thumb.png" ]path thumb.png$ $slurp-file ;
: user-avatar ( -- addr ) : user-avatar ( -- addr )
user-avatar# @ 0= IF user-avatar# @ 0= IF
read-user.png user.png$ $@ mem>thumb atlas-region read-user.png user.png$ $@ mem>thumb atlas-region
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment