summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-02-12 12:09:47 -0500
committerStefan Schmidt <s.schmidt@samsung.com>2015-02-12 18:19:27 +0100
commit8ba149836165ab26db6c97eba3fd71f8cb79c69f (patch)
tree18059d6e5e2788274db89615530fa205e2b7ff89
parent18262f89304dc130b2ff44f3b459d6edbb47b788 (diff)
downloadefl-8ba149836165ab26db6c97eba3fd71f8cb79c69f.tar.gz
ecore-drm: Fix bad German formatting ;)
Summary: No functional changes, just formatting Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/ecore_drm/ecore_drm_evdev.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_evdev.c b/src/lib/ecore_drm/ecore_drm_evdev.c
index 42b61f4b40..483b5d3f6e 100644
--- a/src/lib/ecore_drm/ecore_drm_evdev.c
+++ b/src/lib/ecore_drm/ecore_drm_evdev.c
@@ -523,15 +523,15 @@ _device_handle_axis(struct libinput_device *device, struct libinput_event_pointe
#ifdef LIBINPUT_HIGHER_08
axis = LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL;
- if (libinput_event_pointer_has_axis(event, axis)) {
+ if (libinput_event_pointer_has_axis(event, axis))
ev->z = libinput_event_pointer_get_axis_value(event, axis);
- }
axis = LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL;
- if (libinput_event_pointer_has_axis(event, axis)) {
- ev->direction = 1;
- ev->z = libinput_event_pointer_get_axis_value(event, axis);
- }
+ if (libinput_event_pointer_has_axis(event, axis))
+ {
+ ev->direction = 1;
+ ev->z = libinput_event_pointer_get_axis_value(event, axis);
+ }
#else
axis = libinput_event_pointer_get_axis(event);
if (axis == LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL) ev->direction = 1;