From 07e72ab90be8a7cf0f600c7be0094e7fcb757d60 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 3 Aug 2023 11:47:37 +0300 Subject: =?UTF-8?q?fixes=20#3606=20(NewStory:=20=D0=BF=D1=80=D0=BE=D0=BA?= =?UTF-8?q?=D1=80=D1=83=D1=82=D0=BA=D0=B0=20=D0=BA=D0=BE=D0=BB=D0=B5=D1=81?= =?UTF-8?q?=D0=BE=D0=BC=20=D0=BC=D1=8B=D1=88=D0=B8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/NewStory/src/history_control.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/NewStory') diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index f40b4663dc..7e8d25ba8f 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -859,10 +859,10 @@ LRESULT CALLBACK NewstoryListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM break; case WM_MOUSEWHEEL: - if ((int)HIWORD(wParam) < 0) - data->LineUp(); - else + if ((short)HIWORD(wParam) < 0) data->LineDown(); + else + data->LineUp(); return TRUE; case WM_VSCROLL: -- cgit v1.2.3