Restored missed }

This commit is contained in:
Andrey Kamaev 2012-02-24 12:45:23 +00:00
parent 9b5534a6e0
commit 216d75ccae

View File

@ -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)
{ {
act_feature->value = value; act_feature->value = value;
return true; return true;
} }
}
return false; return false;
} }
return true; return true;