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) ...@@ -795,9 +795,9 @@ bool CvCaptureCAM_DC1394_v2_CPP::setProperty(int propId, double value)
//first: check boundaries //first: check boundaries
if (value < act_feature->min) if (value < act_feature->min)
{ {
value = act_feature->min; value = act_feature->min;
} }
else if (value > act_feature->max) else if (value > act_feature->max)
{ {
value = act_feature->max; value = act_feature->max;
} }
...@@ -806,7 +806,8 @@ bool CvCaptureCAM_DC1394_v2_CPP::setProperty(int propId, double value) ...@@ -806,7 +806,8 @@ bool CvCaptureCAM_DC1394_v2_CPP::setProperty(int propId, double value)
{ {
act_feature->value = value; act_feature->value = value;
return true; return true;
} }
}
return false; return false;
} }
return true; 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