From e3a75f34f865f66e0ebf04b8c11fd97c972647d6 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 16 Jan 2022 11:50:26 -0800 Subject: [PATCH] Fix spelling/wording issues Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith --- include/libinput-properties.h | 2 +- src/bezier.h | 2 +- src/xf86libinput.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/libinput-properties.h b/include/libinput-properties.h index d3832d8..1655771 100644 --- a/include/libinput-properties.h +++ b/include/libinput-properties.h @@ -63,7 +63,7 @@ /* Pointer accel speed: FLOAT, 1 value, 32 bit, read-only*/ #define LIBINPUT_PROP_ACCEL_DEFAULT "libinput Accel Speed Default" -/* Pointer accel profile: BOOL, 2 values in oder adaptive, flat, +/* Pointer accel profile: BOOL, 2 values in order adaptive, flat, * only one is enabled at a time at max, read-only */ #define LIBINPUT_PROP_ACCEL_PROFILES_AVAILABLE "libinput Accel Profiles Available" diff --git a/src/bezier.h b/src/bezier.h index ce628dd..f86588b 100644 --- a/src/bezier.h +++ b/src/bezier.h @@ -56,7 +56,7 @@ extern const struct bezier_control_point bezier_defaults[4]; * This function requires that c[i].x <= c[i+1].x * * The curve is mapped into a canvas size [0, bezier_sz)². For each x - * coordiante in [0, bezier_sz), the matching y coordinate is thus + * coordinate in [0, bezier_sz), the matching y coordinate is thus * bezier[x]. * * In other words, if you have a range [0,2048) input possible values, diff --git a/src/xf86libinput.c b/src/xf86libinput.c index 5bb6c28..d7b72e0 100644 --- a/src/xf86libinput.c +++ b/src/xf86libinput.c @@ -3669,7 +3669,7 @@ xf86libinput_pre_init(InputDriverPtr drv, goto fail; } - /* We ref the device above, then remove it. It get's + /* We ref the device above, then remove it. It gets re-added with the same path in DEVICE_ON, we hope it doesn't change until then */ libinput_device_ref(device); -- GitLab