Thread (14 messages) flat view 14 messages, 3 authors, 2016-06-15

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

From: Alex Riesen <hidden>
Date: 2016-06-15 22:45:00

Johannes Schindelin, Wed, Jul 23, 2008 18:44:49 +0200:
quoted
+	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).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help