mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-04-28 07:40:42 +02:00
Fix a typo.
This commit is contained in:
parent
62f9786646
commit
4135ccf315
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue