diff options
author | rsc <devnull@localhost> | 2004-04-25 21:33:10 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-25 21:33:10 +0000 |
commit | ecdecae370ea13343bbfab0f9aa712c83c2fdfb0 (patch) | |
tree | 2a01dee29edaa1a576b3aaaee182bf2b4672c613 | |
parent | 1d14d0abf183d4c4eb7b1a796b884162984a52d2 (diff) | |
download | plan9port-ecdecae370ea13343bbfab0f9aa712c83c2fdfb0.tar.gz plan9port-ecdecae370ea13343bbfab0f9aa712c83c2fdfb0.tar.bz2 plan9port-ecdecae370ea13343bbfab0f9aa712c83c2fdfb0.zip |
little fixes
-rw-r--r-- | src/cmd/draw/img.c | 2 | ||||
-rw-r--r-- | src/cmd/draw/mc.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/draw/img.c b/src/cmd/draw/img.c index b46bcf34..354e5885 100644 --- a/src/cmd/draw/img.c +++ b/src/cmd/draw/img.c @@ -42,7 +42,7 @@ main(int argc, char **argv) }else fd = 0; - if(initdraw(nil, nil, nil) < 0) + if(initdraw(0, nil, nil) < 0) sysfatal("initdraw: %r"); if((image=readimage(display, fd, 0)) == nil) diff --git a/src/cmd/draw/mc.c b/src/cmd/draw/mc.c index cc66707c..4e554d0e 100644 --- a/src/cmd/draw/mc.c +++ b/src/cmd/draw/mc.c @@ -89,6 +89,7 @@ threadmain(int argc, char *argv[]) } } columnate(); + Bflush(&bout); exits(0); } void |