From 799d64d284ee17e6193c1d8275456ddfe9ca71b8 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 20 Oct 2020 15:49:40 +1000 Subject: [PATCH] doc: fix typos Signed-off-by: Peter Hutterer --- src/libei.h | 8 ++++---- src/libeis.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libei.h b/src/libei.h index 6202e95..1b92618 100644 --- a/src/libei.h +++ b/src/libei.h @@ -67,7 +67,7 @@ struct ei_device; /** * @struct ei_event * - * An event received from the EIS impelementation. See @ref ei_event_type + * An event received from the EIS implementation. See @ref ei_event_type * for the list of possible event types. * * An @ref ei_event is refcounted, see ei_event_unref(). @@ -90,7 +90,7 @@ struct ei_keymap; * capabilities but never zero - a EIS implementation must reject any * device with zero capabilities. * - * Capabilities are requested by the EI client but the EIS + * Capabilities are requested by the client but the EIS * implementation may further reduce the capabilities. For example, a client * may request the pointer and keyboard capability but only the former is * permitted by the server. Any keyboard events sent by such a device events @@ -155,7 +155,7 @@ enum ei_event_type { * should be released. * * This event may occur at any time after the connection has been - * made and is the last event to be recieved by this ei instance. + * made and is the last event to be received by this ei instance. * * libei guarantees that a @ref EI_EVENT_DISCONNECT is provided to * the caller even where the server does not send one. @@ -359,7 +359,7 @@ int ei_get_fd(struct ei *ei); /** - * Main event dispatchment function. Reads events of the file descriptors + * Main event dispatching function. Reads events of the file descriptors * and processes them internally. Use libei_get_event() to retrieve the * events. * diff --git a/src/libeis.h b/src/libeis.h index 8add8b0..3be31c3 100644 --- a/src/libeis.h +++ b/src/libeis.h @@ -186,7 +186,7 @@ int eis_get_fd(struct eis *eis); /** - * Main event dispatchment function. Reads events of the file descriptors + * Main event dispatching function. Reads events of the file descriptors * and processes them internally. Use libeis_get_event() to retrieve the * events. * @@ -354,7 +354,7 @@ eis_device_connect(struct eis_device *device); /** * Disconnect the device. * This does not release any resources associated with this device, use - * eils_device_unref() for any references held by the caller. + * eis_device_unref() for any references held by the caller. */ void eis_device_disconnect(struct eis_device *device);