From 0862e8e34c3c01dae9a396680b33b46ce0dd5fe9 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 17 Dec 2015 13:25:10 +0300 Subject: [PATCH] fix build --- modules/highgui/src/window_winrt_bridge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/highgui/src/window_winrt_bridge.cpp b/modules/highgui/src/window_winrt_bridge.cpp index e0818eafbd..b107b1fcf3 100644 --- a/modules/highgui/src/window_winrt_bridge.cpp +++ b/modules/highgui/src/window_winrt_bridge.cpp @@ -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; }