mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
style: include brackets for if/while/for, even if it's a single statement
This commit is contained in:
parent
1fbd6cb0f0
commit
dcc743047b
7 changed files with 39 additions and 15 deletions
|
|
@ -277,8 +277,9 @@ int main(int argc, char *argv[]) {
|
|||
screenshooter, output->output, output->buffer);
|
||||
orbital_screenshot_add_listener(screenshot, &screenshot_listener, screenshot);
|
||||
buffer_copy_done = 0;
|
||||
while (!buffer_copy_done)
|
||||
while (!buffer_copy_done) {
|
||||
wl_display_roundtrip(display);
|
||||
}
|
||||
}
|
||||
|
||||
write_image("wayland-screenshot.png", width, height);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue