mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 13:10:12 +08:00
fix build
This commit is contained in:
parent
3c6aa650a1
commit
0862e8e34c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user