[PATCH libinput 1/4] filter: Fix typo

Derek Foreman derekf at osg.samsung.com
Thu Oct 30 14:34:13 PDT 2014


accelator -> accelerator
---
 src/evdev.c  | 2 +-
 src/filter.c | 2 +-
 src/filter.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/evdev.c b/src/evdev.c
index dd2228b..341f7d8 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -981,7 +981,7 @@ int
 evdev_device_init_pointer_acceleration(struct evdev_device *device)
 {
 	device->pointer.filter =
-		create_pointer_accelator_filter(
+		create_pointer_accelerator_filter(
 			pointer_accel_profile_linear);
 	if (!device->pointer.filter)
 		return -1;
diff --git a/src/filter.c b/src/filter.c
index defbcae..205cd03 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -282,7 +282,7 @@ struct motion_filter_interface accelerator_interface = {
 };
 
 struct motion_filter *
-create_pointer_accelator_filter(accel_profile_func_t profile)
+create_pointer_accelerator_filter(accel_profile_func_t profile)
 {
 	struct pointer_accelerator *filter;
 
diff --git a/src/filter.h b/src/filter.h
index 1f53e81..0dc081b 100644
--- a/src/filter.h
+++ b/src/filter.h
@@ -53,7 +53,7 @@ typedef double (*accel_profile_func_t)(struct motion_filter *filter,
 				       uint64_t time);
 
 struct motion_filter *
-create_pointer_accelator_filter(accel_profile_func_t filter);
+create_pointer_accelerator_filter(accel_profile_func_t filter);
 
 
 /*
-- 
2.1.1



More information about the wayland-devel mailing list