From 6471ea7eb9980bc55ad79a7f5ca622633a88bbb3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 15 Nov 2023 10:46:37 +0300 Subject: =?UTF-8?q?fixes=20#3923=20(NewStory:=20=D0=BB=D0=B8=D1=88=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BA=D0=B8=20=D0=B2=20?= =?UTF-8?q?=D0=B3=D0=BB=D0=BE=D0=B1=D0=B0=D0=BB=D1=8C=D0=BD=D0=BE=D0=BC=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=B8=D1=81=D0=BA=D0=B5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/NewStory/src/history_dlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/NewStory/src/history_dlg.cpp b/plugins/NewStory/src/history_dlg.cpp index 4e74bbe53f..e7094db113 100644 --- a/plugins/NewStory/src/history_dlg.cpp +++ b/plugins/NewStory/src/history_dlg.cpp @@ -508,7 +508,7 @@ public: m_histCtrl = (NewstoryListData *)GetWindowLongPtr(m_histWindow.GetHwnd(), 0); - if (m_hContact <= 0) { + if (m_hContact == 0 || m_hContact == INVALID_CONTACT_ID) { btnSendMsg.Hide(); btnUserInfo.Hide(); btnUserMenu.Hide(); -- cgit v1.2.3