diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 15:13:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 15:13:30 +0300 |
commit | d7e53c4d5a748d5ef8c934e90dc59ff23c667420 (patch) | |
tree | 2b0c16de953e182321a0314b6ce3b909f428731f /protocols/YAMN/src/proto | |
parent | 129687d805025b4e292174ffb3d224a55baf24d2 (diff) |
WCHAR -> wchar_t
Diffstat (limited to 'protocols/YAMN/src/proto')
-rw-r--r-- | protocols/YAMN/src/proto/pop3/pop3opt.cpp | 8 | ||||
-rw-r--r-- | protocols/YAMN/src/proto/pop3/pop3opt.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/protocols/YAMN/src/proto/pop3/pop3opt.cpp b/protocols/YAMN/src/proto/pop3/pop3opt.cpp index fc111ef7c7..a24eba24e2 100644 --- a/protocols/YAMN/src/proto/pop3/pop3opt.cpp +++ b/protocols/YAMN/src/proto/pop3/pop3opt.cpp @@ -508,7 +508,7 @@ BOOL DlgSetItemText(HWND hDlg, WPARAM wParam, const char* str) return TRUE; } -BOOL DlgSetItemTextW(HWND hDlg, WPARAM wParam, const WCHAR* str) +BOOL DlgSetItemTextW(HWND hDlg, WPARAM wParam, const wchar_t* str) { if (str == nullptr) SetDlgItemTextW(hDlg, wParam, L""); @@ -846,7 +846,7 @@ INT_PTR CALLBACK DlgProcPOP3AccOpt(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lP case WM_NOTIFY: if (((LPNMHDR)lParam)->idFrom == 0 && ((LPNMHDR)lParam)->code == PSN_APPLY) { char Text[MAX_PATH]; - WCHAR TextW[MAX_PATH]; + wchar_t TextW[MAX_PATH]; BOOL Translated, NewAcc = FALSE, Check, CheckMsg, CheckSnd, CheckIco, CheckApp, CheckAPOP; BOOL CheckNMsgP, CheckFMsg, CheckFSnd, CheckFIco; BOOL CheckKBN, CheckContact, CheckContactNick, CheckContactNoEvent; @@ -981,13 +981,13 @@ INT_PTR CALLBACK DlgProcPOP3AccOpt(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lP GetDlgItemTextW(hDlg, IDC_EDITAPP, TextW, _countof(TextW)); if (nullptr != ActualAccount->NewMailN.App) delete[] ActualAccount->NewMailN.App; - ActualAccount->NewMailN.App = new WCHAR[mir_wstrlen(TextW) + 1]; + ActualAccount->NewMailN.App = new wchar_t[mir_wstrlen(TextW) + 1]; mir_wstrcpy(ActualAccount->NewMailN.App, TextW); GetDlgItemTextW(hDlg, IDC_EDITAPPPARAM, TextW, _countof(TextW)); if (nullptr != ActualAccount->NewMailN.AppParam) delete[] ActualAccount->NewMailN.AppParam; - ActualAccount->NewMailN.AppParam = new WCHAR[mir_wstrlen(TextW) + 1]; + ActualAccount->NewMailN.AppParam = new wchar_t[mir_wstrlen(TextW) + 1]; mir_wstrcpy(ActualAccount->NewMailN.AppParam, TextW); ActualAccount->Server->Port = Port; diff --git a/protocols/YAMN/src/proto/pop3/pop3opt.h b/protocols/YAMN/src/proto/pop3/pop3opt.h index 245f7679a4..d6a49c59a8 100644 --- a/protocols/YAMN/src/proto/pop3/pop3opt.h +++ b/protocols/YAMN/src/proto/pop3/pop3opt.h @@ -31,7 +31,7 @@ int POP3OptInit(WPARAM wParam,LPARAM lParam); //Sets dialog item text BOOL DlgSetItemText(HWND hDlg,WPARAM wParam,const char*); -BOOL DlgSetItemTextW(HWND hDlg,WPARAM wParam,const WCHAR*); +BOOL DlgSetItemTextW(HWND hDlg,WPARAM wParam,const wchar_t*); #define DlgSetItemTextT DlgSetItemTextW |