aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 14:38:23 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 14:38:23 +0100
commit16a36ccc85c0d8d8bf838d9bf5879a854503a3ec (patch)
treebefb2bc21f2ff911802bae4e9b40f0b17d2ef6ec
parentmisc + update e-mail (diff)
downloadmds-16a36ccc85c0d8d8bf838d9bf5879a854503a3ec.tar.gz
mds-16a36ccc85c0d8d8bf838d9bf5879a854503a3ec.tar.bz2
mds-16a36ccc85c0d8d8bf838d9bf5879a854503a3ec.tar.xz
fix typoesHEADmaster
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--Makefile4
-rw-r--r--src/mds-kkbd.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index a076905..139f250 100644
--- a/Makefile
+++ b/Makefile
@@ -27,10 +27,10 @@ LIBMDSCLIENT_VERSION = $(LIBMDSCLIENT_MAJOR).$(LIBMDSCLIENT_MINOR)
# Splits of the info manual.
INFOPARTS = 1 2 3
-# Object files for the server libary.
+# Object files for the server library.
SERVEROBJ = linked-list client-list hash-table fd-table mds-message util
-# Object files for the client libary.
+# Object files for the client library.
CLIENTOBJ = proto-util comm address inbound
# Servers and utilities.
diff --git a/src/mds-kkbd.c b/src/mds-kkbd.c
index 24fee29..fc9cdb3 100644
--- a/src/mds-kkbd.c
+++ b/src/mds-kkbd.c
@@ -1153,9 +1153,9 @@ handle_map_keyboard_leds(const char *recv_keyboard)
}
if (stage == 1 && pos) {
/* Copy over the position value to a new allocation on the stack
- and NUL-terminate it. We are at the of the payload and cannot
- besure sure that we can put an extra NUL at the end of it
- without reallocating the payload which is much ore complicated. */
+ and NUL-terminate it. We are at the end of the payload and cannot
+ be sure that we can put an extra NUL at the end of it
+ without reallocating the payload which is much more complicated. */
len = (size_t)(pos - received.payload);
pos_ = alloca((len + 1) * sizeof(char));
memcpy(pos_, pos, len * sizeof(char));
@@ -1170,7 +1170,7 @@ handle_map_keyboard_leds(const char *recv_keyboard)
/**
- * Parse a keycode rampping line
+ * Parse a keycode remapping line
*
* @param begin The beginning of the line
* @param end The end of the line, `NULL` if it is not terminated by a new line