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:
62f9786
)
Fix a typo.
author
Dima Ryazanov
<dima@gmail.com>
Sun, 11 Nov 2012 08:29:01 +0000
(
00:29
-0800)
committer
Jonas Ådahl
<jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:31 +0000
(17:51 +0100)
src/evdev-touchpad.c
patch
|
blob
|
history
diff --git
a/src/evdev-touchpad.c
b/src/evdev-touchpad.c
index
6a3217b
..
73c04eb
100644
(file)
--- a/
src/evdev-touchpad.c
+++ b/
src/evdev-touchpad.c
@@
-160,7
+160,7
@@
get_touchpad_model(struct evdev_device *device)
if (ioctl(device->fd, EVIOCGID, &id) < 0)
return TOUCHPAD_MODEL_UNKNOWN;
- for (i = 0; ARRAY_LENGTH(touchpad_spec_table); i++)
+ for (i = 0;
i <
ARRAY_LENGTH(touchpad_spec_table); i++)
if (touchpad_spec_table[i].vendor == id.vendor &&
(!touchpad_spec_table[i].product ||
touchpad_spec_table[i].product == id.product))