提交 216d75cc 编写于 作者: A Andrey Kamaev

Restored missed }

上级 9b5534a6
......@@ -795,9 +795,9 @@ bool CvCaptureCAM_DC1394_v2_CPP::setProperty(int propId, double value)
//first: check boundaries
if (value < act_feature->min)
{
value = act_feature->min;
}
else if (value > act_feature->max)
value = act_feature->min;
}
else if (value > act_feature->max)
{
value = act_feature->max;
}
......@@ -806,7 +806,8 @@ bool CvCaptureCAM_DC1394_v2_CPP::setProperty(int propId, double value)
{
act_feature->value = value;
return true;
}
}
}
return false;
}
return true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册