summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/userprefs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/userprefs.cpp')
-rw-r--r--plugins/TabSRMM/src/userprefs.cpp10
1 files changed, 5 insertions, 5 deletions
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;