diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-06 21:13:00 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-06 21:13:00 +0000 |
commit | a8deb4ad5586a2b6a90957a610ad64c8e10e95f1 (patch) | |
tree | a157d0d35c9cbca914923fa3cd3e73076c9ea4c7 /protocols/Xfire/src/options.cpp | |
parent | 1b8647da361135909e3c8f459d8aaffc2475818f (diff) |
XFire:
- fix for a typo in r12294 (thx White-Tiger)
- fixed memory leaks
- minor other fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14032 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/options.cpp')
-rw-r--r-- | protocols/Xfire/src/options.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/protocols/Xfire/src/options.cpp b/protocols/Xfire/src/options.cpp index 4ac8fd4cd4..58043f1aaa 100644 --- a/protocols/Xfire/src/options.cpp +++ b/protocols/Xfire/src/options.cpp @@ -517,7 +517,6 @@ static INT_PTR CALLBACK DlgProcOpts3(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR { case PSN_APPLY: { - int reconnectRequired = 0; int ccc; hwndTree = GetDlgItem(hwndDlg, IDC_TREE); @@ -548,11 +547,6 @@ static INT_PTR CALLBACK DlgProcOpts3(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR ccc = SendDlgItemMessage(hwndDlg, IDC_SCANUPDATECB, CB_GETCURSEL, 0, 0); db_set_b(NULL, protocolname, "scanalways", (BYTE)ccc); - //protocolversion wird autoamtisch vergeben - //GetDlgItemTextA(hwndDlg,IDC_PVER,str,SIZEOF(str)); - //db_set_b(NULL,protocolname,"protover",(char)atoi(str)); - - if (reconnectRequired) MessageBox(hwndDlg, TranslateT("The changes you have made require you to reconnect to the XFire network before they take effect"), TranslateT("XFire Options"), MB_OK | MB_ICONINFORMATION); return TRUE; } |