Nope, that's supposed to be just how it is.  In this way, if arg
starts with + or -, it adds (or subtracts) delta.  If arg is just a
number, and does not start with + or -, it sets mwfact to delta.  This
way you can set mwfact to a relative value using + or -, or an
absolute value with just a number.

-emg

On 10/1/07, Szabolcs Nagy <[EMAIL PROTECTED]> wrote:
> there's a typo in in dwm.c in setmwfact():
>
> ...
> else if(1 == sscanf(arg, "%lf", &delta)) {
>     if(arg[0] == '+' || arg[0] == '-')
>         mwfact += delta;
>     else
>         mwfact = delta; // should be -=
>     ...
> }
>
>

Reply via email to