summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2019-03-11 18:48:42 +0100
committerpgen <p.gen.progs@gmail.com>2019-03-17 20:46:05 +0100
commita0b10c4fe214d5767bf0143f9d39f486b65e77ac (patch)
tree3bd7f8e870e3e14e2681111343b8eddff20e3597
parentb30b7afbbb527392a1f1654fa9e0d52f3757392a (diff)
Fix typos
-rw-r--r--list.c4
-rw-r--r--smenu.c2
-rw-r--r--tests/README.rst4
3 files changed, 5 insertions, 5 deletions
diff --git a/list.c b/list.c
index 6c59006..2f616e8 100644
--- a/list.c
+++ b/list.c
@@ -4,7 +4,7 @@
/* ########################################################### */
/* ********************************************************************* */
-/* Tiny list immplementation. */
+/* Tiny linked list implementation. */
/* */
/* Each node contain a void pointer to some opaque data, these functions */
/* will not try to allocate or free this data pointer. */
@@ -130,7 +130,7 @@ ll_prepend(ll_t * const list, void * const data)
/* ======================================================= */
/* Insert a new node before the specified node in the list */
-/* TODO test it */
+/* TODO test it */
/* ======================================================= */
void
ll_insert_before(ll_t * const list, ll_node_t * node, void * const data)
diff --git a/smenu.c b/smenu.c
index 9632cf9..426b2de 100644
--- a/smenu.c
+++ b/smenu.c
@@ -3553,7 +3553,7 @@ disp_message(ll_t * message_lines_list, long message_max_width,
long i;
for (i = 0; i < offset; i++)
- putc(' ', stdout);
+ fputc(' ', stdout);
}
/* Only print the start of a line if the screen width if too small */
diff --git a/tests/README.rst b/tests/README.rst
index 22bb0ee..28576a5 100644
--- a/tests/README.rst
+++ b/tests/README.rst
@@ -72,6 +72,6 @@ The ``tests.sh`` script will show these occurrences, if any, anyway.
Note
----
-Before reporting a bug due to a failing test, please re-execute is again
-at least 3 times with ``test.sh`` as you may have found a i(timing)
+Before reporting a bug due to a failing test, please re-execute is
+again at least 3 times with ``test.sh`` as you may have found a (timing)
bug in **ptylie**/**hlvt** and not in **smenu**.