shithub: cflood

Download patch

ref: a0ae550d621a0403b3a2ce9ac1e2d1c71c2ae741
parent: e76c1771e63c73de717c0a270bd7f8d639ca11be
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sat Dec 14 14:02:23 EST 2019

clean up

--- a/LICENSE
+++ b/LICENSE
@@ -1,1 +1,1 @@
-Everything here is in the public domain.
+Public domain.
--- a/cflood.c
+++ b/cflood.c
@@ -239,7 +239,7 @@
 static void
 usage(void)
 {
-	fprint(2, "usage: cflood [-b] [-s size] [-t turns]\n");
+	fprint(2, "usage: cflood [-s size] [-t turns]\n");
 	exits("usage");
 }
 
@@ -270,7 +270,7 @@
 		usage();
 	}ARGEND
 
-	if(initdraw(0, 0, "cflood") < 0)
+	if(initdraw(nil, nil, "cflood") < 0)
 		sysfatal("initdraw failed");
 
 	r = Rect(0, 0, 1, 1);