diff options
Diffstat (limited to '')
| -rw-r--r-- | src/mds-kkbd.c | 8 |
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 |
