summaryrefslogtreecommitdiffstats
path: root/index.c
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2018-11-27 22:54:01 +0100
committerpgen <p.gen.progs@gmail.com>2019-01-20 10:49:32 +0100
commit573c5896a34710de08d61cd6e6df4775cc7f0c3a (patch)
tree4a72f9013606a09f11ce938cef4c68536e3c6b73 /index.c
parent957178b5b1542fb1dc2666db4b62a716b8b11861 (diff)
Cosmetic, typos and comments
Diffstat (limited to 'index.c')
-rw-r--r--index.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/index.c b/index.c
index 5aa0bcd..c9be11b 100644
--- a/index.c
+++ b/index.c
@@ -12,9 +12,9 @@
#include "list.h"
#include "index.h"
-/* List of matching words matching the current search */
-/* """""""""""""""""""""""""""""""""""""""""""""""""" */
-ll_t * tst_search_list; /* Should be initialized by ll_new() before use */
+/* List of words matching the current search */
+/* """"""""""""""""""""""""""""""""""""""""" */
+ll_t * tst_search_list; /* Must be initialized by ll_new() before use */
/* ====================================== */
/* Ternary search tree insertion function */
@@ -184,9 +184,9 @@ tst_fuzzy_traverse(tst_node_t * p, int (*callback)(void *), int first_call,
return !!rc;
}
-/* =================================================================== */
-/* Search a complete string in a Ternary tree staring from a root node */
-/* =================================================================== */
+/* ==================================================================== */
+/* Search a complete string in a ternary tree starting from a root node */
+/* ==================================================================== */
void *
tst_search(tst_node_t * root, wchar_t * w)
{