From 7515702ee563399f869f850a327855e7051d5424 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 17 Mar 2021 18:43:17 +0300 Subject: =?UTF-8?q?fixes=20#2777=20(Notes=20and=20Reminders:=20=D1=83?= =?UTF-8?q?=D0=B1=D1=80=D0=B0=D1=82=D1=8C=20=D0=BD=D0=B0=D1=81=D1=82=D1=80?= =?UTF-8?q?=D0=BE=D0=B9=D0=BA=D1=83=20"=D0=94=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D1=8F=D1=82=D1=8C=20=D0=BF=D1=83=D0=BD=D0=BA=D1=82=D1=8B?= =?UTF-8?q?=20=D0=B2=20=D0=BC=D0=B5=D0=BD=D1=8E=20=D0=BA=D0=BE=D0=BD=D1=82?= =?UTF-8?q?=D0=B0=D0=BA=D1=82=D0=B0")?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mir_core/src/CCtrlSlider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mir_core') diff --git a/src/mir_core/src/CCtrlSlider.cpp b/src/mir_core/src/CCtrlSlider.cpp index c418051693..c9086eaeea 100644 --- a/src/mir_core/src/CCtrlSlider.cpp +++ b/src/mir_core/src/CCtrlSlider.cpp @@ -53,7 +53,7 @@ bool CCtrlSlider::OnApply() void CCtrlSlider::OnReset() { - SendMsg(TBM_SETRANGE, 0, MAKELPARAM(m_wMax, m_wMin)); + SendMsg(TBM_SETRANGE, 0, MAKELONG(m_wMin, m_wMax)); if (m_dbLink != nullptr) SetPosition(LoadInt()); -- cgit v1.2.3