Upgraded clang-format to 5.0 (#103)

This commit is contained in:
Tyler Veness
2017-11-19 15:15:41 -08:00
committed by Peter Johnson
parent 7847c69231
commit cf828ca858
5 changed files with 41 additions and 16 deletions

View File

@@ -664,9 +664,8 @@ CS_StatusValue UsbCameraImpl::DeviceCmdSetProperty(
// Check kind match
if ((setString && prop->propKind != CS_PROP_STRING) ||
(!setString &&
(prop->propKind & (CS_PROP_BOOLEAN | CS_PROP_INTEGER | CS_PROP_ENUM)) ==
0))
(!setString && (prop->propKind &
(CS_PROP_BOOLEAN | CS_PROP_INTEGER | CS_PROP_ENUM)) == 0))
return CS_WRONG_PROPERTY_TYPE;
// Handle percentage property