diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-31 22:09:02 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-31 22:09:02 +0000 |
commit | b1db27c61150e1313a537d1de009ec26bae414ab (patch) | |
tree | ef00c016871fd39258f8d540633b080030673c99 /src/core | |
parent | e48bae4c6ccf1003916b3960f30816ce8aaa955b (diff) |
- CreateProtoServiceFunction() moved into mir_core.dll instead of inlining
- all old protocols moved on it;
- code cleaning;
git-svn-id: http://svn.miranda-ng.org/main/trunk@13953 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdauth/src/authdialogs.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/stdauth/src/authdialogs.cpp b/src/core/stdauth/src/authdialogs.cpp index 5de5cb0cf3..a1a7897249 100644 --- a/src/core/stdauth/src/authdialogs.cpp +++ b/src/core/stdauth/src/authdialogs.cpp @@ -264,11 +264,11 @@ INT_PTR CALLBACK DlgProcAuthReq(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP db_event_get(hDbEvent, &dbei);
if (IsWindowEnabled(GetDlgItem(hwndDlg, IDC_DENYREASON))) {
- TCHAR szReason[256];
- GetDlgItemText(hwndDlg, IDC_DENYREASON, szReason, SIZEOF(szReason));
- CallProtoService(dbei.szModule, PS_AUTHDENY, (WPARAM)hDbEvent, (LPARAM)szReason);
+ TCHAR tszReason[256];
+ GetDlgItemText(hwndDlg, IDC_DENYREASON, tszReason, SIZEOF(tszReason));
+ CallProtoService(dbei.szModule, PS_AUTHDENY, hDbEvent, (LPARAM)tszReason);
}
- else CallProtoService(dbei.szModule, PS_AUTHDENY, (WPARAM)hDbEvent, 0);
+ else CallProtoService(dbei.szModule, PS_AUTHDENY, hDbEvent, 0);
}
DestroyWindow(hwndDlg);
break;
|