Comment typo fixes

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2016-03-11 12:27:03 +10:00
parent 855a6bd831
commit bfe6d446ad
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}

View File

@@ -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);