aboutsummaryrefslogtreecommitdiffstats
path: root/src
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 /src
parentmisc + update e-mail (diff)
downloadmds-master.tar.gz
mds-master.tar.bz2
mds-master.tar.xz
fix typoesHEADmaster
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'src')
-rw-r--r--src/mds-kkbd.c8
1 files changed, 4 insertions, 4 deletions
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