From 451303889fcd3e4a8ca4ec4928c3788641e8e755 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 20 May 2024 20:33:46 +0300 Subject: =?UTF-8?q?fixes=20#4429=20(NewStory:=20=D0=B4=D0=BE=D0=B1=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D1=82=D1=8C=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BA=D1=83?= =?UTF-8?q?=20=D0=B4=D0=BB=D1=8F=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=B2=D1=8B=D0=B1=D1=80=D0=B0=D0=BD=D0=BD=D1=8B?= =?UTF-8?q?=D1=85=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B9?= =?UTF-8?q?)?= 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/src/history_control.cpp') diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 5129c3f6c8..537a74fb61 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -1212,12 +1212,12 @@ LRESULT CALLBACK NewstoryListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM InvalidateRect(hwnd, 0, FALSE); break; - case UM_ADDEVENT: + case UM_ADD_EVENT: if (data->pMsgDlg == nullptr) data->AddEvent(wParam, lParam, 1); break; - case UM_EDITEVENT: + case UM_EDIT_EVENT: idx = data->items.find(lParam); if (idx != -1) { auto *p = data->GetItem(idx); @@ -1227,7 +1227,7 @@ LRESULT CALLBACK NewstoryListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM } break; - case UM_REMOVEEVENT: + case UM_REMOVE_EVENT: idx = data->items.find(lParam); if (idx != -1) { data->items.remove(idx); -- cgit v1.2.3