diff options
| author | Henrik Rydberg <rydberg@alnilam.(none)> | 2010-02-01 22:03:33 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@alnilam.(none)> | 2010-02-01 22:03:33 +0100 |
| commit | f0b1dbdc00bda57c62199cbdc44acbadbb1121b0 (patch) | |
| tree | 5234055bf794c28662b139c22e153f7a720a37bc /src/gestures.c | |
| parent | 30869603dc5d36ad2d82cff82900c7e05a4b35c1 (diff) | |
janitor: stick to kernel-style formattingalpha-1
With this commit, the whole code base complies with the
kernel format style, and patches can be checked against
the kernel-provided ./scripts/checkpatch.pl
Diffstat (limited to 'src/gestures.c')
| -rw-r--r-- | src/gestures.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gestures.c b/src/gestures.c index 0b0ba1d..2390d35 100644 --- a/src/gestures.c +++ b/src/gestures.c | |||
| @@ -34,7 +34,8 @@ void extract_gestures(struct Gestures *gs, struct MTouch* mt) | |||
| 34 | memset(gs, 0, sizeof(struct Gestures)); | 34 | memset(gs, 0, sizeof(struct Gestures)); |
| 35 | if (nof == nsf) { | 35 | if (nof == nsf) { |
| 36 | for (p = b; p != e; p++) { | 36 | for (p = b; p != e; p++) { |
| 37 | if (fs = find_finger(&mt->os, p->id)) { | 37 | fs = find_finger(&mt->os, p->id); |
| 38 | if (fs) { | ||
| 38 | gs->dx += p->hw.position_x - fs->hw.position_x; | 39 | gs->dx += p->hw.position_x - fs->hw.position_x; |
| 39 | gs->dy += p->hw.position_y - fs->hw.position_y; | 40 | gs->dy += p->hw.position_y - fs->hw.position_y; |
| 40 | dn++; | 41 | dn++; |
