Commit 0862e8e3 authored by Alexander Alekhin's avatar Alexander Alekhin

fix build

parent 3c6aa650
...@@ -183,7 +183,7 @@ void CvTrackbar::setMinPosition(double pos) ...@@ -183,7 +183,7 @@ void CvTrackbar::setMinPosition(double pos)
if (pos < 0) if (pos < 0)
pos = 0; pos = 0;
//Min is always less than Max. //Min is always less than Max.
if ((pos > slider->Maximum) if (pos > slider->Maximum)
pos = slider->Maximum; pos = slider->Maximum;
slider->Minimum = pos; 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