summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-08-02 18:46:15 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-08-02 18:46:15 +0300
commitf847488c4175051f1608905ef00b28867326ff19 (patch)
tree1857ecc4565fdb0287f8c2a5433558ec33c412f0 /plugins/NewStory/src/history.cpp
parent975b603994a6e1f135424a31457db54e56b1dcb3 (diff)
code cleaning
Diffstat (limited to 'plugins/NewStory/src/history.cpp')
-rw-r--r--plugins/NewStory/src/history.cpp3
1 files changed, 2 insertions, 1 deletions
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));