mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-08 06:38:02 +02:00
tools: fix swapped strstartswith arguments in find_device()
Co-Authored-by: Claude Code <noreply@anthropic.com>
(cherry picked from commit 333d7131ab)
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1468>
This commit is contained in:
parent
d947ae8208
commit
14759465f2
1 changed files with 1 additions and 1 deletions
|
|
@ -787,7 +787,7 @@ find_device(const char *udev_tag)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
const char *sysname = udev_device_get_sysname(device);
|
const char *sysname = udev_device_get_sysname(device);
|
||||||
if (!strstartswith("event", sysname)) {
|
if (!strstartswith(sysname, "event")) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue