[PATCH] Fix typos in Documentation

Yong Bakos junk at humanoriented.com
Tue Jan 17 20:15:50 UTC 2017


Hi Rohith,

> On Jan 17, 2017, at 11:41 AM, Rohith Mukku <rohithmukku at gmail.com> wrote:
> 
> Signed-off-by: Rohith Mukku <rohithmukku at gmail.com>

These spelling and grammar changes in comment blocks are
Reviewed-by: Yong Bakos <ybakos at humanoriented.com>

yong


> ---
> src/libinput.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/src/libinput.h b/src/libinput.h
> index 8c9cf9a..86bfeaf 100644
> --- a/src/libinput.h
> +++ b/src/libinput.h
> @@ -307,7 +307,7 @@ enum libinput_tablet_pad_strip_axis_source {
>  * while a button is held down.
>  *
>  * @note The @ref libinput_tablet_tool_type can only describe the default physical
> - * type of the device. For devices with adjustible physical properties
> + * type of the device. For devices with adjustable physical properties
>  * the tool type remains the same, i.e. putting a Wacom stroke nib into a
>  * classic pen leaves the tool type as @ref LIBINPUT_TABLET_TOOL_TYPE_PEN.
>  */
> @@ -329,7 +329,7 @@ enum libinput_tablet_tool_type {
>  * LIBINPUT_DEVICE_CAP_TABLET_TOOL capability.
>  *
>  * The proximity of a tool is a binary state signalling whether the tool is
> - * within detectable distance of the tablet device. A tool that is out of
> + * within a detectable distance of the tablet device. A tool that is out of
>  * proximity cannot generate events.
>  *
>  * On some hardware a tool goes out of proximity when it ceases to touch the
> @@ -2004,7 +2004,7 @@ libinput_event_tablet_tool_get_distance(struct libinput_event_tablet_tool *event
>  * If this axis does not exist on the current tool, this function returns 0.
>  *
>  * @param event The libinput tablet tool event
> - * @return The current value of the the axis in degrees
> + * @return The current value of the axis in degrees
>  */
> double
> libinput_event_tablet_tool_get_tilt_x(struct libinput_event_tablet_tool *event);
> @@ -3395,7 +3395,7 @@ libinput_device_get_seat(struct libinput_device *device);
>  * device and adding it to the new seat.
>  *
>  * This command is identical to physically unplugging the device, then
> - * re-plugging it as member of the new seat. libinput will generate a
> + * re-plugging it as a member of the new seat. libinput will generate a
>  * @ref LIBINPUT_EVENT_DEVICE_REMOVED event and this @ref libinput_device is
>  * considered removed from the context; it will not generate further events
>  * and will be freed when the refcount reaches zero.
> -- 
> 1.9.1
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel



More information about the wayland-devel mailing list