dwm-meillo

diff client.c @ 102:ed2d4eb65f02

yet another typo fix
author arg@10ksloc.org
date Wed, 19 Jul 2006 13:29:45 +0200
parents 17c526ee321c
children 130d49140341
line diff
     1.1 --- a/client.c	Wed Jul 19 13:24:58 2006 +0200
     1.2 +++ b/client.c	Wed Jul 19 13:29:45 2006 +0200
     1.3 @@ -208,9 +208,9 @@
     1.4  	c->bh = bh;
     1.5  
     1.6  	diff = sw - c->fw;
     1.7 -	c->fx = sx + (random() % diff ? diff : 1);
     1.8 +	c->fx = random() % (diff ? diff : 1);
     1.9  	diff = sh - c->fh;
    1.10 -	c->fy = sy + (random() % diff ? diff : 1);
    1.11 +	c->fy = random() % (diff ? diff : 1);
    1.12  
    1.13  	c->border = 1;
    1.14  	c->proto = getproto(c->win);