summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-03-12 20:21:10 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-03-12 20:21:10 +0300
commitc3047f02ba93ade075957a8e4e793d364fc65673 (patch)
tree6b1b5dcc200bdfb170b5af52fc6a91a3aec72b51 /plugins/TabSRMM
parentde95db69fc41aec2ec4291ae7f32dd84cb533bcc (diff)
minor code cleaning
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp4
-rw-r--r--plugins/TabSRMM/src/msgs.cpp2
-rw-r--r--plugins/TabSRMM/src/msgs.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index d6a30b3153..69b8231c04 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -309,8 +309,8 @@ LRESULT CALLBACK SplitterSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
/////////////////////////////////////////////////////////////////////////////////////////
-CMsgDialog::CMsgDialog(int iDlgId, MCONTACT hContact) :
- CSuper(g_plugin, iDlgId),
+CMsgDialog::CMsgDialog(MCONTACT hContact) :
+ CSuper(g_plugin, IDD_MSGSPLITNEW),
m_pPanel(this),
timerAwayMsg(this, 4),
m_btnAdd(this, IDC_ADD),
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp
index 1c4448bff0..bfbd7cfeac 100644
--- a/plugins/TabSRMM/src/msgs.cpp
+++ b/plugins/TabSRMM/src/msgs.cpp
@@ -315,7 +315,7 @@ void TSAPI CreateNewTabForContact(TContainerData *pContainer, MCONTACT hContact,
if (bActivateTab)
TabCtrl_SetCurSel(pContainer->m_hwndTabs, iTabId);
- CMsgDialog *pWindow = new CMsgDialog(IDD_MSGSPLITNEW, hContact);
+ CMsgDialog *pWindow = new CMsgDialog(hContact);
pWindow->m_iTabID = iTabId;
pWindow->m_pContainer = pContainer;
pContainer->m_iChilds++;
diff --git a/plugins/TabSRMM/src/msgs.h b/plugins/TabSRMM/src/msgs.h
index 42dc16239b..52645fb1f7 100644
--- a/plugins/TabSRMM/src/msgs.h
+++ b/plugins/TabSRMM/src/msgs.h
@@ -602,7 +602,7 @@ public:
CCtrlButton m_btnAdd, m_btnQuote, m_btnCancelAdd;
public:
- CMsgDialog(int dlgId, MCONTACT hContact);
+ CMsgDialog(MCONTACT hContact);
CMsgDialog(SESSION_INFO *si);
~CMsgDialog();