fix build

This commit is contained in:
Alexander Alekhin 2015-12-17 13:25:10 +03:00
parent 3c6aa650a1
commit 0862e8e34c

View File

@ -183,7 +183,7 @@ void CvTrackbar::setMinPosition(double pos)
if (pos < 0)
pos = 0;
//Min is always less than Max.
if ((pos > slider->Maximum)
if (pos > slider->Maximum)
pos = slider->Maximum;
slider->Minimum = pos;
}