summaryrefslogtreecommitdiff
path: root/app/video
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2020-08-09 06:51:05 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2020-08-09 06:51:05 +0000
commit5bd8cd1671d9db17b7eeb415480c8c5a98e05b68 (patch)
treed8afd8051934d5759d6205fd2d3ce88bcb1c9b54 /app/video
parentf82f91af23b7b39f08d8cec8f7b41f208336386b (diff)
Remove braces for single line control statement.
Diffstat (limited to 'app/video')
-rw-r--r--app/video/video.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/video/video.c b/app/video/video.c
index d9c584af0..34f57651f 100644
--- a/app/video/video.c
+++ b/app/video/video.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: video.c,v 1.34 2020/08/09 06:41:51 mglocker Exp $ */
+/* $OpenBSD: video.c,v 1.35 2020/08/09 06:51:04 mglocker Exp $ */
/*
* Copyright (c) 2010 Jacob Meuser <jakemsr@openbsd.org>
*
@@ -1134,9 +1134,8 @@ dev_reset_ctrls(struct video *vid)
if (!ctrls[i].supported)
continue;
dev_set_ctrl_abs(vid, i, ctrls[i].def);
- if (i == CTRL_WHITE_BALANCE_TEMPERATURE) {
+ if (i == CTRL_WHITE_BALANCE_TEMPERATURE)
dev_set_ctrl_auto_white_balance(vid, 1, 0);
- }
}
}