From a8deb4ad5586a2b6a90957a610ad64c8e10e95f1 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sat, 6 Jun 2015 21:13:00 +0000 Subject: 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 --- protocols/Xfire/src/options.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'protocols/Xfire/src/options.cpp') 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; } -- cgit v1.2.3