Merge pull request #5827 from alalek:winrt_build_fixup

This commit is contained in:
Alexander Alekhin 2015-12-17 10:28:34 +00:00
commit 1f6893e4dc

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;
}