summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2021-07-20 21:00:06 +0200
committerpgen <p.gen.progs@gmail.com>2021-07-20 21:00:06 +0200
commit3d5ece87a5fca45d75e06e65aae419bbbb064381 (patch)
tree3016dd8503112196d43b378852eb64ec8077053c
parent50c0a4ffc018d30032251f647ada7a615264553c (diff)
Typos
-rw-r--r--list.c2
-rw-r--r--smenu.c4
-rw-r--r--utils.c6
3 files changed, 6 insertions, 6 deletions
diff --git a/list.c b/list.c
index 4c0973c..5a1f2e1 100644
--- a/list.c
+++ b/list.c
@@ -10,7 +10,7 @@
/* will not try to allocate or free this data pointer. */
/* */
/* Also accessors are not provided, the user has to directly manipulate */
-/* the structure members (head, tail, len, data, prev, next). */
+/* the structure members (head, tail, len, data, prev, next). */
/* ********************************************************************* */
#include <stdio.h>
diff --git a/smenu.c b/smenu.c
index f6ae146..cdd54a5 100644
--- a/smenu.c
+++ b/smenu.c
@@ -4428,7 +4428,7 @@ find_best_word_upward(long last_word, long s, long e)
}
/* If the word is not selectable, try to find a selectable word */
- /* in the line. */
+ /* in its line. */
/* """""""""""""""""""""""""""""""""""""""""""""""""""""""""""" */
if (!word_a[current].is_selectable)
{
@@ -4508,7 +4508,7 @@ find_best_word_downward(long last_word, long s, long e)
}
/* If the word is not selectable, try to find a selectable word */
- /* in ts line. */
+ /* in its line. */
/* """""""""""""""""""""""""""""""""""""""""""""""""""""""""""" */
if (!word_a[current].is_selectable)
{
diff --git a/utils.c b/utils.c
index 20dc355..f62cbf2 100644
--- a/utils.c
+++ b/utils.c
@@ -131,9 +131,9 @@ merge_intervals(ll_t * list)
}
}
-/* ****************** */
-/* Strings functions. */
-/* ****************** */
+/* ***************** */
+/* String functions. */
+/* ***************** */
/* ========================================================================= */
/* Allocates memory and safely concatenate strings. Stolen from a public */