From 10126b8ab2d030c8789525edcc87ff1c7c5b3e54 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 19 Dec 2016 17:32:21 +0300 Subject: unused parameter removed --- plugins/Scriver/src/chat/chat.h | 2 +- plugins/Scriver/src/chat/window.cpp | 4 ++-- plugins/TabSRMM/src/chat/chat.h | 2 +- plugins/TabSRMM/src/chat/services.cpp | 2 +- plugins/TabSRMM/src/chat/tools.cpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins') diff --git a/plugins/Scriver/src/chat/chat.h b/plugins/Scriver/src/chat/chat.h index adb495934c..3b03840bb9 100644 --- a/plugins/Scriver/src/chat/chat.h +++ b/plugins/Scriver/src/chat/chat.h @@ -82,7 +82,7 @@ void FreeMsgLogBitmaps(void); int GetTextPixelSize( wchar_t* pszText, HFONT hFont, BOOL bWidth); // services.c -void ShowRoom(SESSION_INFO *si, WPARAM wp, BOOL bSetForeground); +void ShowRoom(SESSION_INFO *si); // manager.c HWND SM_FindWindowByContact(MCONTACT hContact); diff --git a/plugins/Scriver/src/chat/window.cpp b/plugins/Scriver/src/chat/window.cpp index 18734f4d68..47ec5ed001 100644 --- a/plugins/Scriver/src/chat/window.cpp +++ b/plugins/Scriver/src/chat/window.cpp @@ -1197,7 +1197,7 @@ static INT_PTR CALLBACK RoomWndProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPAR SendMessage(hwndDlg, GC_FIXTABICONS, 0, 0); if (!si->hWnd) { - ShowRoom(si, WINDOW_VISIBLE, TRUE); + ShowRoom(si); SendMessage(hwndDlg, WM_MOUSEACTIVATE, 0, 0); } break; @@ -1797,7 +1797,7 @@ LABEL_SHOWWINDOW: return FALSE; } -void ShowRoom(SESSION_INFO *si, WPARAM, BOOL) +void ShowRoom(SESSION_INFO *si) { if (si == NULL) return; diff --git a/plugins/TabSRMM/src/chat/chat.h b/plugins/TabSRMM/src/chat/chat.h index 9c813ccb7f..cd66ceab98 100644 --- a/plugins/TabSRMM/src/chat/chat.h +++ b/plugins/TabSRMM/src/chat/chat.h @@ -125,7 +125,7 @@ void AddIcons(void); HICON LoadIconEx(char *pszIcoLibName); // services.c -void ShowRoom(SESSION_INFO *si, WPARAM wp, BOOL); +void ShowRoom(SESSION_INFO *si); HWND CreateNewRoom(TContainerData *pContainer, SESSION_INFO *si, BOOL bActivateTab, BOOL bPopupContainer, BOOL bWantPopup); diff --git a/plugins/TabSRMM/src/chat/services.cpp b/plugins/TabSRMM/src/chat/services.cpp index 6f318e40f6..4a1dbc7592 100644 --- a/plugins/TabSRMM/src/chat/services.cpp +++ b/plugins/TabSRMM/src/chat/services.cpp @@ -153,7 +153,7 @@ HWND CreateNewRoom(TContainerData *pContainer, SESSION_INFO *si, BOOL bActivateT return hwndNew; // return handle of the new dialog } -void ShowRoom(SESSION_INFO *si, WPARAM, BOOL) +void ShowRoom(SESSION_INFO *si) { if (si == NULL) return; diff --git a/plugins/TabSRMM/src/chat/tools.cpp b/plugins/TabSRMM/src/chat/tools.cpp index 2dfb0a18cf..8dc44d5f37 100644 --- a/plugins/TabSRMM/src/chat/tools.cpp +++ b/plugins/TabSRMM/src/chat/tools.cpp @@ -39,7 +39,7 @@ int GetRichTextLength(HWND hwnd) static void __stdcall ShowRoomFromPopup(void *pi) { SESSION_INFO *si = (SESSION_INFO*)pi; - ShowRoom(si, WINDOW_VISIBLE, TRUE); + ShowRoom(si); } static void __stdcall Chat_DismissPopup(void *pi) -- cgit v1.2.3