summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_opts.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-06-07 19:06:46 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-06-07 19:06:46 +0000
commited2a703b18eb112c9696f638bc65f6c8e14f974e (patch)
treef49f1a16ee4d17766d374bc6f070dacd2d8f33de /protocols/MSN/src/msn_opts.cpp
parent5d6989883de96e8f0f369dfb8af549963638ac61 (diff)
MSN:
- Fixed some compiler warnings git-svn-id: http://svn.miranda-ng.org/main/trunk@14056 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_opts.cpp')
-rw-r--r--protocols/MSN/src/msn_opts.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/protocols/MSN/src/msn_opts.cpp b/protocols/MSN/src/msn_opts.cpp
index 0df5ac0502..bd94c90779 100644
--- a/protocols/MSN/src/msn_opts.cpp
+++ b/protocols/MSN/src/msn_opts.cpp
@@ -378,7 +378,6 @@ static INT_PTR CALLBACK DlgProcMsnConnOpts(HWND hwndDlg, UINT msg, WPARAM wParam
case WM_NOTIFY:
if (((LPNMHDR)lParam)->code == (UINT)PSN_APPLY) {
- bool reconnectRequired = false;
char str[MAX_PATH];
CMsnProto* proto = (CMsnProto*)GetWindowLongPtr(hwndDlg, GWLP_USERDATA);
@@ -403,8 +402,11 @@ static INT_PTR CALLBACK DlgProcMsnConnOpts(HWND hwndDlg, UINT msg, WPARAM wParam
TranslateT("MSN Protocol"), MB_OK | MB_ICONINFORMATION);
}
}
-
+
+#ifdef OBSOLETE
unsigned gethst2 = proto->getByte("AutoGetHost", 1);
+
+#endif
unsigned gethst = SendDlgItemMessage(hwndDlg, IDC_HOSTOPT, CB_GETCURSEL, 0, 0);
if (gethst < 2) gethst = !gethst;
proto->setByte("AutoGetHost", (BYTE)gethst);
@@ -420,10 +422,6 @@ static INT_PTR CALLBACK DlgProcMsnConnOpts(HWND hwndDlg, UINT msg, WPARAM wParam
proto->ForkThread(&CMsnProto::MSNConnDetectThread, NULL);
#endif
- if (reconnectRequired && proto->msnLoggedIn)
- MessageBox(hwndDlg, TranslateT("The changes you have made require you to reconnect to the MSN Messenger network before they take effect"),
- TranslateT("MSN Options"), MB_OK);
-
proto->LoadOptions();
return TRUE;
}