From e88689f3d0032dddfb2c4ac8f65ba2a22a7de571 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 4 Aug 2013 09:43:26 +0000 Subject: - code formatting; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@5574 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/userprefs.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/TabSRMM/src/userprefs.cpp') diff --git a/plugins/TabSRMM/src/userprefs.cpp b/plugins/TabSRMM/src/userprefs.cpp index d176ed4dd9..54d4d334e9 100644 --- a/plugins/TabSRMM/src/userprefs.cpp +++ b/plugins/TabSRMM/src/userprefs.cpp @@ -171,7 +171,7 @@ static INT_PTR CALLBACK DlgProcUserPrefs(HWND hwndDlg, UINT msg, WPARAM wParam, Utils::enableDlgControl(hwndDlg, IDC_TRIM, IsDlgButtonChecked(hwndDlg, IDC_ALWAYSTRIM2)); break; case WM_USER + 100: { - struct TWindowData *dat = 0; + TWindowData *dat = 0; DWORD *pdwActionToTake = (DWORD *)lParam; int iIndex = CB_ERR, iMode = -1; DWORD newCodePage; @@ -182,7 +182,7 @@ static INT_PTR CALLBACK DlgProcUserPrefs(HWND hwndDlg, UINT msg, WPARAM wParam, BYTE bAvatarVisible = 0; if (hWnd) { - dat = (struct TWindowData *)GetWindowLongPtr(hWnd, GWLP_USERDATA); + dat = (TWindowData*)GetWindowLongPtr(hWnd, GWLP_USERDATA); if (dat) iOldIEView = GetIEViewMode(hWnd, dat->hContact); } @@ -330,7 +330,7 @@ static struct _checkboxes { * ignore temporary bits. */ -int TSAPI LoadLocalFlags(HWND hwnd, struct TWindowData *dat) +int TSAPI LoadLocalFlags(HWND hwnd, TWindowData *dat) { int i = 0; DWORD dwMask = M.GetDword(dat->hContact, "mwmask", 0); @@ -403,11 +403,11 @@ static INT_PTR CALLBACK DlgProcUserPrefsLogOptions(HWND hwndDlg, UINT msg, WPARA int i=0; LRESULT state; HWND hwnd = M.FindWindow(hContact); - struct TWindowData *dat = NULL; + TWindowData *dat = NULL; DWORD *dwActionToTake = (DWORD *)lParam, dwMask = 0, dwFlags = 0, maskval; if (hwnd) - dat = (struct TWindowData *)GetWindowLongPtr(hwnd, GWLP_USERDATA); + dat = (TWindowData*)GetWindowLongPtr(hwnd, GWLP_USERDATA); while(checkboxes[i].uId) { maskval = checkboxes[i].uFlag; -- cgit v1.2.3