From 573c5896a34710de08d61cd6e6df4775cc7f0c3a Mon Sep 17 00:00:00 2001
From: pgen
Date: Tue, 27 Nov 2018 22:54:01 +0100
Subject: Cosmetic, typos and comments
---
index.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
(limited to 'index.c')
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)
{
--
cgit v1.2.3