From 16a36ccc85c0d8d8bf838d9bf5879a854503a3ec Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 22 Feb 2026 14:38:23 +0100 Subject: fix typoes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 4 ++-- src/mds-kkbd.c | 8 ++++---- 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 -- cgit v1.2.3-70-g09d2