Re: [dwm] setmwfact bug

From: pancake <pancake_AT_youterm.com>
Date: Mon, 8 Oct 2007 11:28:30 +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 -=
> ...
> }
>
Why? for me it's ok, so you can set an absolute value or a relative one.

--pancake
Received on Mon Oct 08 2007 - 09:46:26 UTC

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