Commit 216d75cc authored by Andrey Kamaev's avatar Andrey Kamaev

Restored missed }

parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment