Commit 1f6893e4 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #5827 from alalek:winrt_build_fixup

parents 3c6aa650 0862e8e3
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment