summaryrefslogtreecommitdiff
path: root/plugins/NewStory
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-08-15 15:00:29 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-08-15 15:00:29 +0300
commitecb7ec27e8e8cdf69730e92c25303230fc67cb40 (patch)
tree0528b8363bb944df2aa14d8322da4e67b87b81b9 /plugins/NewStory
parentcb8d41c2965ebf48b93bc0008db707f6a1b39a88 (diff)
fixes #4564 (VK+NS: история не обновляется при приходе новых сообщений)
Diffstat (limited to 'plugins/NewStory')
-rw-r--r--plugins/NewStory/src/history_control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp
index f26ce1164c..0aabbdb74c 100644
--- a/plugins/NewStory/src/history_control.cpp
+++ b/plugins/NewStory/src/history_control.cpp
@@ -1579,7 +1579,7 @@ LRESULT CALLBACK NewstoryListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
break;
case WM_DESTROY:
- WindowList_Add(g_hNewstoryLogs, hwnd);
+ WindowList_Remove(g_hNewstoryLogs, hwnd);
delete data;
SetWindowLongPtr(hwnd, 0, 0);
break;