diff -r 1c30ac0aee7f -r 7c117df5d202 tile.c --- a/tile.c Thu Aug 23 18:15:13 2007 +0200 +++ b/tile.c Sun Aug 26 12:53:40 2007 +0200 @@ -46,7 +46,7 @@ nx = wax; ny = way; - for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) { + for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next), i++) { c->ismax = False; if(i == 0) { /* master */ nw = mw - 2 * c->border; @@ -66,7 +66,6 @@ resize(c, nx, ny, nw, nh, False); if(n > 1 && th != wah) ny += nh + 2 * c->border; - i++; } }