diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-01-31 20:01:24 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-01-31 20:01:24 +0100 |
commit | 3ce514ca0a36e90a89a066a3c73f4d45ceb5c530 (patch) | |
tree | b1af5cd04589dab19dd412dad08081796c59c833 /sys/src/cmd/mothra/mothra.c | |
parent | b76b5901ff41c7851df1f452578d8d5fa4e5f933 (diff) |
mothra: wrap long text and images to fit
Diffstat (limited to 'sys/src/cmd/mothra/mothra.c')
-rw-r--r-- | sys/src/cmd/mothra/mothra.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/src/cmd/mothra/mothra.c b/sys/src/cmd/mothra/mothra.c index c1faf8ffd..09eeb7bc6 100644 --- a/sys/src/cmd/mothra/mothra.c +++ b/sys/src/cmd/mothra/mothra.c @@ -318,11 +318,11 @@ void main(int argc, char *argv[]){ plinit(screen->depth); if(debug) notify(dienow); getfonts(); - hrule=allocimage(display, Rect(0, 0, 2048, 5), screen->chan, 0, DWhite); + hrule=allocimage(display, Rect(0, 0, 1, 5), screen->chan, 1, DWhite); if(hrule==0) sysfatal("can't allocimage!"); - draw(hrule, Rect(0,1,1280,3), display->black, 0, ZP); - linespace=allocimage(display, Rect(0, 0, 2048, 5), screen->chan, 0, DWhite); + draw(hrule, Rect(0,1,1,3), display->black, 0, ZP); + linespace=allocimage(display, Rect(0, 0, 1, 5), screen->chan, 1, DWhite); if(linespace==0) sysfatal("can't allocimage!"); bullet=allocimage(display, Rect(0,0,25, 8), screen->chan, 0, DWhite); |