Applied.

Thanks,
Anselm

2008/8/12 Martin Hurton <[EMAIL PROTECTED]>:
> Hi,
>
> the following patch slightly simplifies the view function plus
> fixes some spelling errors. Comments are highly appreciated.
>
> Cheers,
> /Martin
>
> diff -r 65c37b4be9cb dwm.c
> --- a/dwm.c     Mon Aug 04 17:39:36 2008 +0100
> +++ b/dwm.c     Tue Aug 12 19:05:53 2008 +0200
> @@ -1640,11 +1640,11 @@
>
>  void
>  view(const Arg *arg) {
> -       if(arg && (arg->i & TAGMASK) == tagset[seltags])
> +       if((arg->ui & TAGMASK) == tagset[seltags])
>                return;
>        seltags ^= 1; /* toggle sel tagset */
> -       if(arg && (arg->ui & TAGMASK))
> -               tagset[seltags] = arg->i & TAGMASK;
> +       if(arg->ui & TAGMASK)
> +               tagset[seltags] = arg->ui & TAGMASK;
>        clearurgent();
>        arrange();
>  }

Reply via email to