diff options
Diffstat (limited to 'plugins/NewStory')
-rw-r--r-- | plugins/NewStory/src/history_dlg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |