Re: [dwm] setmwfact bug

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Mon, 1 Oct 2007 20:21:56 +0200

On Mon, Oct 01, 2007 at 08:15:47PM +0200, Szabolcs Nagy 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 -=
> ...
> }

No, that's a feature. It allows to use setmwfact for predefined
values (e.g. factors for 80 col terminals).

Regards,

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Mon Oct 01 2007 - 20:21:56 UTC

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