cosmetic
This commit is contained in:
parent
9cc12396a1
commit
5801ab0589
|
@ -48,11 +48,8 @@ uicb_setnmaster(Display *disp,
|
||||||
if(!arg)
|
if(!arg)
|
||||||
nmaster = awesomeconf->nmaster;
|
nmaster = awesomeconf->nmaster;
|
||||||
else
|
else
|
||||||
{
|
if((nmaster = (int) compute_new_value_from_arg(arg, (double) nmaster)) < 0)
|
||||||
nmaster = (int) compute_new_value_from_arg(arg, (double) nmaster);
|
|
||||||
if(nmaster < 0)
|
|
||||||
nmaster = 0;
|
nmaster = 0;
|
||||||
}
|
|
||||||
|
|
||||||
if(sel)
|
if(sel)
|
||||||
arrange(disp, drawcontext, awesomeconf);
|
arrange(disp, drawcontext, awesomeconf);
|
||||||
|
@ -73,8 +70,7 @@ uicb_setmwfact(Display *disp,
|
||||||
mwfact = awesomeconf->mwfact;
|
mwfact = awesomeconf->mwfact;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mwfact = compute_new_value_from_arg(arg, mwfact);
|
if((mwfact = compute_new_value_from_arg(arg, mwfact)) < 0.1)
|
||||||
if(mwfact < 0.1)
|
|
||||||
mwfact = 0.1;
|
mwfact = 0.1;
|
||||||
else if(mwfact > 0.9)
|
else if(mwfact > 0.9)
|
||||||
mwfact = 0.9;
|
mwfact = 0.9;
|
||||||
|
|
Loading…
Reference in New Issue