Re: [PATCH] Add help.autocorrect to enable/disable autocorrecting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johannes Schindelin, Wed, Jul 23, 2008 18:44:49 +0200:
> > +	n = 1;
> > +	while (n < main_cmds.cnt &&
> > +		best_similarity == similarity(main_cmds.names[n]->name))
> > +		++n;
> 
> Mini-nit: you never ask for the value of n, only if it is 1 or larger.  So 
> you do not need to count...

But I do, don't I? AFAICS, I use 0, 1 and >1 (this-these).

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux