summaryrefslogtreecommitdiff
path: root/src/eventcomm.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-16 12:42:17 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-16 12:42:17 -0800
commit592215a584100db752cde86f6e9fb2115212a648 (patch)
tree995b5f7ea7f69c3668a30762c3a9feae5f6cd19f /src/eventcomm.c
parent6d6c2e79221e6f362d1f47d3e52259e1d4e32315 (diff)
Fix spelling/wording issues
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/eventcomm.c')
-rw-r--r--src/eventcomm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c
index 6862539..b24ed21 100644
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -291,7 +291,7 @@ EventDeviceOffHook(InputInfoPtr pInfo)
}
/**
- * Test if the device on the file descriptior is recognized as touchpad
+ * Test if the device on the file descriptor is recognized as touchpad
* device. Required bits for touchpad recognition are:
* - ABS_X + ABS_Y for absolute axes
* - ABS_PRESSURE or BTN_TOUCH
@@ -418,7 +418,7 @@ event_get_abs(struct libevdev *evdev, int code,
*min = abs->minimum;
*max = abs->maximum;
- /* We dont trust a zero fuzz as it probably is just a lazy value */
+ /* We don't trust a zero fuzz as it probably is just a lazy value */
if (fuzz && abs->fuzz > 0)
*fuzz = abs->fuzz;
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)