aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd/draw/img.c2
-rw-r--r--src/cmd/draw/mc.c1
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