diff --git a/src/libratbag.c b/src/libratbag.c index ff7c8cee..62e982b4 100644 --- a/src/libratbag.c +++ b/src/libratbag.c @@ -329,7 +329,7 @@ get_device_name(struct udev_device *device) if (!prop) return NULL; - /* udev name is inclosed by " */ + /* udev name is enclosed by " */ return strndup(&prop[1], strlen(prop) - 2); } diff --git a/src/libratbag.h b/src/libratbag.h index 5e141c99..f2fd193f 100644 --- a/src/libratbag.h +++ b/src/libratbag.h @@ -1345,7 +1345,7 @@ ratbag_button_get_macro_event_key(struct ratbag_button *button, unsigned int ind * @param button A previously initialized ratbag button * @param index An index of the event within the macro we are interested in. * - * @return The tiemout of the event at the given index + * @return The timeout of the event at the given index */ int ratbag_button_get_macro_event_timeout(struct ratbag_button *button, unsigned int index);