From 6c32f7802019212ea627e5cec634fc8a1317fd0d Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 12 Feb 2021 07:20:27 +1000 Subject: [PATCH] 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 --- tools/libinput-record.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/libinput-record.c b/tools/libinput-record.c index 01393940..98aed214 100644 --- a/tools/libinput-record.c +++ b/tools/libinput-record.c @@ -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) */