Re: [dwm] setmwfact bug

From: Evan Gates <evan.gates_AT_gmail.com>
Date: Mon, 1 Oct 2007 14:23:10 -0400

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 <nszabolcs_AT_gmail.com> 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 -=
> ...
> }
>
>
Received on Mon Oct 01 2007 - 20:23:12 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:56:32 UTC