good fix for ncol = 0, last was wrong
This commit is contained in:
parent
077ffb5b43
commit
9c83ebfb80
|
@ -129,8 +129,7 @@ _tile(int screen, const Bool right)
|
|||
else
|
||||
mh = mw = 0;
|
||||
|
||||
if((real_ncol = MIN(otherwin, curtag->ncol) <= 0))
|
||||
real_ncol = 1;
|
||||
real_ncol = curtag->ncol > 0 ? MIN(otherwin, curtag->ncol) : MIN(otherwin, 1);
|
||||
|
||||
for(i = 0, c = globalconf.clients; c; c = c->next)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue