summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/UMainForm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SendScreenshotPlus/src/UMainForm.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/UMainForm.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/SendScreenshotPlus/src/UMainForm.cpp b/plugins/SendScreenshotPlus/src/UMainForm.cpp
index d7d058df1c..4be9eabbaa 100644
--- a/plugins/SendScreenshotPlus/src/UMainForm.cpp
+++ b/plugins/SendScreenshotPlus/src/UMainForm.cpp
@@ -764,7 +764,7 @@ void TfrmMain::SaveOptions(void) {
}
//---------------------------------------------------------------------------
-void TfrmMain::Init(LPTSTR DestFolder, HANDLE Contact) {
+void TfrmMain::Init(LPTSTR DestFolder, HCONTACT Contact) {
m_FDestFolder = mir_tstrdup(DestFolder);
m_hContact = Contact;
if(!m_hContact) m_opt_cboxSendBy = SS_JUSTSAVE;
@@ -775,7 +775,8 @@ void TfrmMain::Init(LPTSTR DestFolder, HANDLE Contact) {
_HandleMapping.insert(CHandleMapping::value_type(m_hWnd, this));
//check Contact
- if(m_cSend) m_cSend->SetContact(Contact);
+ if(m_cSend)
+ m_cSend->SetContact(Contact);
}
//---------------------------------------------------------------------------