projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c83c739
)
tools/record: add some curly braces
author
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 11 Feb 2021 21:20:27 +0000
(07:20 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 11 Feb 2021 21:35:58 +0000
(07:35 +1000)
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>
tools/libinput-record.c
patch
|
blob
|
history
diff --git
a/tools/libinput-record.c
b/tools/libinput-record.c
index 013939408648111992eba1a05e967194038197b4..98aed214c08ab44ec9d2208a8bfcf7eba2094ca6 100644
(file)
--- 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) */