tools/record: add some curly braces

list_for_each is just a fancy for loop but it looks weird without braces.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2021-02-12 07:20:27 +10:00
parent c83c739a8c
commit 6c32f78020

View file

@ -2289,8 +2289,9 @@ mainloop(struct record_context *ctx)
*/
had_events = true;
had_events_since_last_time = true;
list_for_each(d, &ctx->devices, link)
list_for_each(d, &ctx->devices, link) {
handle_events(ctx, d, d == first_device);
}
/* This shouldn't pull any events off unless caused
* by libinput-internal timeouts (e.g. tapping) */