little fixes

This commit is contained in:
rsc 2004-04-25 21:33:10 +00:00
parent 1d14d0abf1
commit ecdecae370
2 changed files with 2 additions and 1 deletions

View file

@ -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)