From f847488c4175051f1608905ef00b28867326ff19 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 2 Aug 2023 18:46:15 +0300 Subject: code cleaning --- plugins/NewStory/src/history.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/NewStory/src/history.cpp') diff --git a/plugins/NewStory/src/history.cpp b/plugins/NewStory/src/history.cpp index d722241819..52449c633a 100644 --- a/plugins/NewStory/src/history.cpp +++ b/plugins/NewStory/src/history.cpp @@ -545,7 +545,8 @@ public: ADDEVENTS tmp = { m_hContact, 0, -1 }; m_histControl.SendMsg(NSM_ADDEVENTS, WPARAM(&tmp), 0); - m_histControl.SendMsg(WM_KEYDOWN, VK_END, 0); + m_histControl.SendMsg(NSM_SET_CONTACT, m_hContact, 0); + m_histControl.SendMsg(NSM_SEEKEND, 0, 0); Window_SetIcon_IcoLib(m_hwnd, g_plugin.getIconHandle(ICO_NEWSTORY)); -- cgit v1.2.3