mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-03 18:30:12 +01:00
test: fix infinite loop in litest_wait_for_event_of_type()
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
d5136c6cb9
commit
481430d8bb
1 changed files with 1 additions and 0 deletions
|
|
@ -802,6 +802,7 @@ litest_wait_for_event_of_type(struct libinput *li, ...)
|
|||
assert(type > 0);
|
||||
assert(ntypes < ARRAY_LENGTH(types));
|
||||
types[ntypes++] = type;
|
||||
type = va_arg(args, int);
|
||||
}
|
||||
va_end(args);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue