and another fix...
authorarg@10ksloc.org
Wed, 19 Jul 2006 13:30:18 +0200
changeset 103 130d49140341
parent 102 ed2d4eb65f02
child 104 3a708f113f55
and another fix...
client.c
--- a/client.c	Wed Jul 19 13:29:45 2006 +0200
+++ b/client.c	Wed Jul 19 13:30:18 2006 +0200
@@ -209,7 +209,7 @@
 
 	diff = sw - c->fw;
 	c->fx = random() % (diff ? diff : 1);
-	diff = sh - c->fh;
+	diff = sh - c->fh - bh;
 	c->fy = random() % (diff ? diff : 1);
 
 	c->border = 1;