projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5082eaf
)
filter: Fix coding style
author
Jonas Ådahl
<jadahl@gmail.com>
Sat, 24 May 2014 20:00:46 +0000
(22:00 +0200)
committer
Jonas Ådahl
<jadahl@gmail.com>
Mon, 26 May 2014 20:59:43 +0000
(22:59 +0200)
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
src/filter.c
patch
|
blob
|
history
diff --git
a/src/filter.c
b/src/filter.c
index
2b1a675
..
2c23da1
100644
(file)
--- a/
src/filter.c
+++ b/
src/filter.c
@@
-103,8
+103,7
@@
get_direction(int dx, int dy)
dir = SE | S | SW;
else if (dy < 0)
dir = NE | N | NW;
dir = SE | S | SW;
else if (dy < 0)
dir = NE | N | NW;
- }
- else {
+ } else {
/* Calculate r within the interval [0 to 8)
*
* r = [0 .. 2π] where 0 is North
/* Calculate r within the interval [0 to 8)
*
* r = [0 .. 2π] where 0 is North