diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 05:13:25 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 05:13:25 +0000 |
commit | bc7df32e3b5a264c0eeb6a20b723cdab02cf7688 (patch) | |
tree | 1d5319a5cb712b9b56ad4834acc9a5198e6adb97 /plugins/Exchange/src/dlg_handlers.cpp | |
parent | 0ff28f7c5ffaa46ed5b21bee965e66bb9108dfe2 (diff) |
SetWindowText(GetDlgItem(...)) -> SetDlgItemText(...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11391 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Exchange/src/dlg_handlers.cpp')
-rw-r--r-- | plugins/Exchange/src/dlg_handlers.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Exchange/src/dlg_handlers.cpp b/plugins/Exchange/src/dlg_handlers.cpp index 52b11dabd9..185d93aeeb 100644 --- a/plugins/Exchange/src/dlg_handlers.cpp +++ b/plugins/Exchange/src/dlg_handlers.cpp @@ -42,13 +42,13 @@ INT_PTR CALLBACK DlgProcOptions(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara TCHAR buffer[4096];
GetStringFromDatabase("Username", _T(""), buffer, SIZEOF(buffer));
- SetWindowText(GetDlgItem(hWnd, IDC_USER_EDIT), buffer);
+ SetDlgItemText(hWnd, IDC_USER_EDIT, buffer);
GetStringFromDatabase("Password", _T(""), buffer, SIZEOF(buffer));
- SetWindowText(GetDlgItem(hWnd, IDC_PASSWORD_EDIT), buffer);
+ SetDlgItemText(hWnd, IDC_PASSWORD_EDIT, buffer);
- GetStringFromDatabase("Server", _T(""), buffer, sizeof(buffer));
- SetWindowText(GetDlgItem(hWnd, IDC_SERVER_EDIT), buffer);
+ GetStringFromDatabase("Server", _T(""), buffer, SIZEOF(buffer));
+ SetDlgItemText(hWnd, IDC_SERVER_EDIT, buffer);
SetDlgItemInt(hWnd, IDC_PORT_EDIT, db_get_dw(NULL, ModuleName, "Port", EXCHANGE_PORT), FALSE);
|