Client: Fix mistake

This commit is contained in:
Martin Duquesnoy 2009-07-14 23:15:41 +02:00
parent daae7d4764
commit fba3243ffe

View File

@ -683,7 +683,7 @@ client_size_hints(Client *c)
c->baseh = size.min_height; c->baseh = size.min_height;
} }
else else
c->basew = c->baseh = 1; c->basew = c->baseh = 0;
/* inc */ /* inc */
if(size.flags & PResizeInc) if(size.flags & PResizeInc)
@ -692,7 +692,7 @@ client_size_hints(Client *c)
c->inch = size.height_inc; c->inch = size.height_inc;
} }
else else
c->incw = c->inch = 1; c->incw = c->inch = 0;
/* max */ /* max */
if(size.flags & PMaxSize) if(size.flags & PMaxSize)
@ -701,7 +701,7 @@ client_size_hints(Client *c)
c->maxh = size.max_height; c->maxh = size.max_height;
} }
else else
c->maxw = c->maxh = 1; c->maxw = c->maxh = 0;
/* min */ /* min */
if(size.flags & PMinSize) if(size.flags & PMinSize)
@ -715,7 +715,7 @@ client_size_hints(Client *c)
c->minh = (size.base_height ? size.base_height : 1); c->minh = (size.base_height ? size.base_height : 1);
} }
else else
c->minw = c->minh = 1; c->minw = c->minh = 0;
/* aspect */ /* aspect */
if(size.flags & PAspect) if(size.flags & PAspect)