On Wed, Aug 13, 2008 at 04:43:46PM +0200, Premysl Hruby wrote:
> On (13/08/08 16:21), Enno Gottox Boland wrote:
> > To: dwm mail list <[email protected]>
> > From: Enno Gottox Boland <[EMAIL PROTECTED]>
> > Subject: Re: [dwm] [patch] Minor code cleanup
> > Reply-To: dwm mail list <[email protected]>
> > List-Id: dwm mail list <dwm.suckless.org>
> > 
> > Hi!
> > 
> > 2008/8/13, Martin Hurton <[EMAIL PROTECTED]>:
> > > Can arg really ever be NULL?
> > no, that should not be possible anymore. the patch is ok so far.
> > >  Cheers,
> > 
> > regards
> > Gottox
> > 
> 
> But that is NOT true, actually view() is called with NULL param, for
> "select previously selected view" function: (excerpt from tip's
> config.def.h)
> 
>     { MODKEY,                       XK_Tab,    view,           {0} },

That zero does not mean NULL pointer; it is there to initialize the
Arg structure.

/Martin

Reply via email to