kwset: fix spelling in comments

Correct spelling mistakes noticed using Lucas De Marchi's codespell tool. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Acked-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Stefano Lattarini committed Apr 12, 2013 at 00:36 UTC 2fec81cbe5a9867bac65bb0aa9e2605a9de68c4d
1 file changed +2 -2
kwset.c
+2 -2
@@ -26,7 +26,7 @@
26 The author may be reached (Email) at the address mike@ai.mit.edu,
27 or (US mail) as Mike Haertel c/o Free Software Foundation. */
28
29 -/* The algorithm implemented by these routines bears a startling resemblence
29 +/* The algorithm implemented by these routines bears a startling resemblance
30 to one discovered by Beate Commentz-Walter, although it is not identical.
31 See "A String Matching Algorithm Fast on the Average," Technical Report,
32 IBM-Germany, Scientific Center Heidelberg, Tiergartenstrasse 15, D-6900
@@ -435,7 +435,7 @@ kwsprep (kwset_t kws)
435 /* Update the delta table for the descendents of this node. */
436 treedelta(curr->links, curr->depth, delta);
437
438 - /* Compute the failure function for the decendents of this node. */
438 + /* Compute the failure function for the descendants of this node. */
439 treefails(curr->links, curr->fail, kwset->trie);
440
441 /* Update the shifts at each node in the current node's chain