summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-05-30 13:23:02 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-05-30 13:23:02 +0300
commit6573793a5488ed95e9acd6673a9f1335727802d4 (patch)
treea251c156bc17686b933a92c145b33bd50184f26e /include
parentfa4668dc4544ef59ec97bcbe7899c1f1d0cbcf83 (diff)
Chat_CreateMenu: no need to execute the menu inside this function
Diffstat (limited to 'include')
-rw-r--r--include/m_chat_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h
index 319559a1ef..f23cce8e43 100644
--- a/include/m_chat_int.h
+++ b/include/m_chat_int.h
@@ -366,7 +366,7 @@ MIR_APP_DLL(BOOL) Chat_DoEventHook(SESSION_INFO *si, int iType, const USERINFO *
MIR_APP_DLL(void) Chat_EmptyHistory(SESSION_INFO *si);
// creates custom popup menu for a group chat
-MIR_APP_DLL(UINT) Chat_CreateMenu(HWND hwnd, HMENU hMenu, POINT pt, SESSION_INFO *si, const wchar_t *pszUID);
+MIR_APP_DLL(void) Chat_CreateMenu(HMENU hMenu, SESSION_INFO *si, const wchar_t *pszUID);
// calculates width or height of a string
MIR_APP_DLL(int) Chat_GetTextPixelSize(const wchar_t *pszText, HFONT hFont, bool bWidth);