From bfe6d446adae929ca9d399d7934957dd571c4258 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 11 Mar 2016 12:27:03 +1000 Subject: [PATCH] Comment typo fixes Signed-off-by: Peter Hutterer --- src/libratbag.c | 2 +- src/libratbag.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);