mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 05:29:54 +08:00
Merge pull request #5827 from alalek:winrt_build_fixup
This commit is contained in:
commit
1f6893e4dc
@ -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