yet another typo fix

This commit is contained in:
arg@10ksloc.org 2006-07-19 13:29:45 +02:00
parent f522930a99
commit 0fb1842fd0

View file

@ -208,9 +208,9 @@ manage(Window w, XWindowAttributes *wa)
c->bh = bh; c->bh = bh;
diff = sw - c->fw; diff = sw - c->fw;
c->fx = sx + (random() % diff ? diff : 1); c->fx = random() % (diff ? diff : 1);
diff = sh - c->fh; diff = sh - c->fh;
c->fy = sy + (random() % diff ? diff : 1); c->fy = random() % (diff ? diff : 1);
c->border = 1; c->border = 1;
c->proto = getproto(c->win); c->proto = getproto(c->win);