diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2021-02-12 07:20:27 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2021-02-12 07:35:58 +1000 |
commit | 6c32f7802019212ea627e5cec634fc8a1317fd0d (patch) | |
tree | 44c0bdda0c8fb82503ef7c0474a786748d62649d /tools | |
parent | c83c739a8ce3b5c063f6e605c2c289f3af7e0dd6 (diff) | |
download | libinput-6c32f7802019212ea627e5cec634fc8a1317fd0d.tar.gz |
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libinput-record.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) */ |